Converting a String into array in JavaScript
Jun 8, 2022 · 1 min read · There are three ways to convert a string into an array of character. Using the Spread Operator (Keep in mind that the spread operator will convert the string into character array) const string = "This is a string" console.log([...string]) Using th...
Join discussion