|
|
|
|
|
by vbezhenar
1218 days ago
|
|
Actually it's even `map((element, index, array) => parseInt(element, index, array))`. In this case `parseInt` does not use third argument but with other functions it might even make more chaos. `Array.map` function API was badly designed. I'd like to know who I should to blame for that design. |
|