|
|
|
|
|
by Raed667
1967 days ago
|
|
> map passes three arguments into parseInt() That is how it is supposed to work, that's how it would also work in Java (and probably other languages but I don't know) You want to pass parameters to suit your particular need you pass them explicitly: ['1', '2', '10'].map(i => parseInt(i))
|
|