get elements in different variable using split javascript code example
Example 1: javascript split
var arr = ['hey', 'nay', 'wey'];
var let = arr.split(' ');
console.log(let);
Example 2: how to split a string in javascript
strName.split(); // My code