js string split to array code example
Example 1: js string to array
var myString = 'no,u';
var MyArray = myString.split(',');//splits the text up in chunks
Example 2: split array javascript
// Returns new array from exising one
arr.slice(start, end);
Example 3: HOW TO SPLIT AN ARRAY JAVASCRIPT
array.splice(index, number, item1, ....., itemN)