From MDN:
callback is invoked with three arguments: the value of the element,
the index of the element, and the Array object being traversed.
parseInt() takes two arguments. The value and the radix. That means that the parseInt() function is being called with unintended parameters.