โญshorthand property
๐ง under construction
JS โฉ value โฉ object โฉ property โฉ shorthand property
๐ง description
let x = 1, y = 2;
let o = { x, y }; // shorthand property: instead of {x: x, y: y}Last updated
Was this helpful?
Was this helpful?