STRING ARRAY TO NUMERIC ARRAY 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);