new array with specific charaacters javascript code example
Example 1: word to char array javascript
var word = userInput[0];
var l = word.split("");
console.log(l);
//input abb
//op ['a','b','b']
Example 2: string charAt array js
var output = "Hello world!".split('');
console.log(output);