toCharArray en JavaScript

// there is not toCharArray() function in javascript .. 
// if you want to split string into char array .. then do this method.. 

let name="hello";
let charArray=name.split(''); // this split string into char ..
console.log(charArray); // output: ['h','e','l','l','o']

dr3am_warri0r