deal with new Array(n), which wasn't working with _.map (because the native implementation of Array's map doesn't iterate over null entries)