What's the output?
const obj = { a: 'one', b: 'two', a: 'three' };
console.log(obj);You missed this one before
If you have two keys with the same name, the key will be replaced. It will still be in its first position, but with the last specified value.
Question 25 · see the original (opens in a new tab)
or press Enter