3 ms·
FYI: destructuring works with object too.. var {foo, bar} = getSomeObject(); where foo and bar are properties of the result of getSomeObject
by tracker1 12y ago
FYI: destructuring works with object too..
var {foo, bar} = getSomeObject();
where foo and bar are properties of the result of getSomeObject