a simple way to convert a String to an Array is by Spreading it... within the array brackets [ ... ] symbols, which is easier than using the String.prototype.split()
let str = 'Aminu Kano';
array = [ ...str ]; //break the array into letters.
This outputs an array of 10 elements. which becomes
[ "A", "m", "i", "n", "u", " ", "K", "a", "n", "o" ];
//same result can be achieved using the code below.
str.split("");
but the latter seems much easier and cleaner
hope this helps..
[hidden by post author]