I don't know how deep my array is. It could be:
let array = ["1000", "5000", "3000"];
Or:
let array = [ ["4000", "2000", "1000"], ["6000", "7000", "3000"] ];
I would like to convert them in to real numbers. The preferred handler is lodash. But I appreciate every solution.
What I tried was:
let array = array.map(Number);
But that covered one dimensional arrays.