Edit in JSFiddle
JavaScript
Result
let str = 'Hello World'; let arr = [...str]; console.log('new array',arr);