Why does spread syntax convert my string into an array?
var v = 'hello';
var [, ...w] = v; // ["e", "l", "l", "o"]
Why is w not a string?
Why does spread syntax convert my string into an array?
var v = 'hello';
var [, ...w] = v; // ["e", "l", "l", "o"]
Why is w not a string?