convert a string to list javascript code example
Example 1: js string to array
var myString = 'no,u';
var MyArray = myString.split(',');//splits the text up in chunks
Example 2: how to change string to array in javascript
a=anyElement.all
// console.log(a)
Array.from(a).forEach(function (element){
console.log(element)
})