Converting a String into array in JavaScript
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...
vars.hashnode.dev1 min read