parseInt receives two arguments: string and radix:
var intValue = parseInt(string[, radix]);
while map handler’s second argument is index:
… callback is invoked with three arguments: the value of the element,
the index of the element, and the Array object being traversed.