javascript string char array code example
Example: word to char array javascript
var word = userInput[0];
var l = word.split("");
console.log(l);
//input abb
//op ['a','b','b']
var word = userInput[0];
var l = word.split("");
console.log(l);
//input abb
//op ['a','b','b']