Hacker News new | ask | show | jobs
by quickthrower2 1218 days ago
This is a classic in the "Top 10 reasons JS is dumb" type articles.

But yeah it is just a case of the map providing 3 args to the function (element, index, array) and parseInt using 2 value s (string, radix) so we have element->string (yay!) and index->radix (oof!) and array->ignored (meh!)