What is the correct term for the ability in ES2015 to implicitly assign the value of a variable to an object member of the same name?
const foo = 1;
const bar = { foo };
What is the correct term for the ability in ES2015 to implicitly assign the value of a variable to an object member of the same name?
const foo = 1;
const bar = { foo };