convertir elementos de una array a int javascript code example
Example 1: parseint array javascript
var arr = ['1','2','3'];
arr = arr.map(x => parseInt(x));
console.log(arr);
//Array(3) [ 1, 2, 3 ]
Example 2: create array text javascript
var cars = ["Saab", "Volvo", "BMW"];