Assume `x` has the value `undefined`. What happens with the following?
1) `const a = [...x];`
2) `const o = {...x};`
(No spoilers please.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🙂" title="Leicht lächelndes Gesicht" aria-label="Emoji: Leicht lächelndes Gesicht"> RT& #39;s appreciated!)
1) `const a = [...x];`
2) `const o = {...x};`
(No spoilers please.
I& #39;ll explain when the poll is over.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🙂" title="Leicht lächelndes Gesicht" aria-label="Emoji: Leicht lächelndes Gesicht">
(1/8) Despite an early surge for "Both fail," I& #39;m glad to see that "1 fails, 2 works" got the most votes -- because that& #39;s the right answer.
https://abs.twimg.com/emoji/v2/... draggable="false" alt="🙂" title="Leicht lächelndes Gesicht" aria-label="Emoji: Leicht lächelndes Gesicht">
But why? Read on...
But why? Read on...