javascript convert string to array chars code example Example: convert string to array javascript let myArray = str.split(" ");