3 ms·
Or two: > Array.prototype.map passes the element's index as the second argument to the callback, and parseInt accepts an optional second argument as the radix
by paulddraper 3y ago
Or two:
> Array.prototype.map passes the element's index as the second argument to the callback, and parseInt accepts an optional second argument as the radix (base).
> Using the index as the radix yields a nonsensical result.