N
const str = 'Hello!';
console.log(Array.from(str)); // ["H", "e", "l", "l", "o", "!"]
N
var colors = ["red", "blue", "green"];
var colorsCSV = colors.join(","); //"red,blue,green"
N
const string = "Hello!";
console.log([...string]); // ["H", "e", "l", "l", "o", "!"]
N
// Designed by shola for shola
str = 'How are you doing today?';
console.log(str.split(" "));
//try console.log(str.split("")); with no space in the split function
//try console.log(str.split(",")); with a comma in the split function