โญshorthand property

๐Ÿšง under construction

JS โŸฉ value โŸฉ object โŸฉ property โŸฉ shorthand property

โญ๏ธ ES6 (2015)

๐Ÿšง description

let x = 1, y = 2;
let o = { x, y };    // shorthand property: instead of {x: x, y: y}

Last updated