Can you still?

What's the output?

const spookyItems = ['馃懟', '馃巸', '馃暩'];
({ item: spookyItems[3] } = { item: '馃拃' });

console.log(spookyItems);

You missed this one before

By destructuring objects, we can unpack values from the right-hand object, and assign the unpacked value to the value of the same property name on the left-hand object. In this case, we're assigning the value "馃拃" to spookyItems[3]. This means that we're modifying the spookyItems array, we're adding the "馃拃" to it. When logging spookyItems, ["馃懟", "馃巸", "馃暩", "馃拃"] gets logged.

Question 127 路 see the original (opens in a new tab)