// Convert a string to an array
//THIS IS THE SAME AS str_split  IN PHP


let letters = "ABC";
for(let letter of letters){
    console.log(letter); // A B C
}

the above code when executed, will create an array of three elements A B C