does split create an array javascript code example
Example: javascript explode
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");
//split into array of strings.
var str = "Well, how, are , we , doing, today";
var res = str.split(",");