How to change the string in each item of this multidimensional array to Number type

this.array = [
  ["0.6","138"],
  ["0.674","135"],
  ["0.77","81"],
  ["0.8","5"]
];

the es6 method I found is using map,. I do this with the for loop, but I don"t know how to assign the changed value to the original this.array . Wrong report with push. I"m a little dizzy after writing the code all day

for (let index = 0; index < this.array.length; indexPP) {
  const element = this.array[index];
  let arr = element.map(function(i){
     return +i;
  })
  // let myArray= this.array.push(arr)  //
  // this.array= myArray;
}
Mar.12,2021

this.array=this.array.map (v = > v.map (Number))



let myArray = []
for (...) {
  ...
  myArray.push(arr)
}
this.array= myArray;

resolved.

Menu