string into array of char javascrpit code example Example: convert string to array javascript let myArray = str.split(" ");