What does this return?
[...'Lydia'];You missed this one before
A string is an iterable. The spread operator maps every character of an iterable to one element.
Question 43 · see the original (opens in a new tab)
or press Enter
[...'Lydia'];You missed this one before
A string is an iterable. The spread operator maps every character of an iterable to one element.
Question 43 · see the original (opens in a new tab)