It's due to parseInt having an optional second parameter, the radix, and map passing the index as the second paramater, hence:
xs = [
parseInt('10', 0),
parseInt('10', 1),
parseInt('10', 2)
]