showing results for - "remove quotes from array javascript"
Isis
06 Oct 2020
1const strings = [ "20", "30", "40", "3.14159" ];
2const numbers = strings.map(Number);
3console.log(numbers); // [ 20, 30, 40, 3.14159 ]