Spread Operator -4
It shows converting string to an array using ES6 spread operator
JavaScript
let str = 'Hello World';
let arr = [...str];
console.log('new array',arr);
let str = 'Hello World';
let arr = [...str];
console.log('new array',arr);