turn string array into array code example
Example 1: convert matrix string to matrix javascript
string = '[[1, 2], [3, 4], [5, 6]]'
string = JSON.parse(string)
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)
})