Excuse me, but does not work if adding an object at firt time
var lib = hotload("./lib.js").key;
And then in the code further:
console.log(lib); ???
I d like to test destructuring variable, but unluck .
var {key}= hotload("./lib.js");.....
console.log(key)
Excuse me, but does not work if adding an object at firt time var lib = hotload("./lib.js").key; And then in the code further: console.log(lib); ??? I d like to test destructuring variable, but unluck . var {key}= hotload("./lib.js");..... console.log(key)