how to convert an array of string into numbers javascripty code example
Example 1: Javascript string to int
var myInt = parseInt("10.256"); //10
var myFloat = parseFloat("10.256"); //10.256
Example 2: convert array string to number
// CONVERT ARRAY STRING TO ARRAY NUMBER
const arrStr = ["1", "3", "5", "9"];
const nuevo = arrStr.map((i) => Number(i));
console.log(nuevo);
// [1,3,5,9];