This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var o = new Object(); | |
o.name = "myname in object"; | |
o.note = "a value we wont care about"; | |
o.description = "my description"; | |
var { description, name } = o; // Trying to destruct only with prop name to see if that can be done (It would be implied too :) ) |