🚧 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}
JavaScript: The Definitive Guide ⟩ 6.10.1 Shorthand Properties
Last updated 2 years ago