I have a string that\'s on the page and from which I want an array of int.
2,3,0,43,23,53
I\'m writin
Here is a simple answer
let x = "1,2,3,4"; let result = x.split(",").map((e) => parseInt(e)); console.log(result);