transform array of string in array of numbers code example
Example: convert an array of strings to numbers
let result = ["1", "2", "3", "4"].map(i=>Number(i));
console.log(result);
let result = ["1", "2", "3", "4"].map(i=>Number(i));
console.log(result);