What about sparse array, where can be empty slots?
You need to rewrite the existing "map" method, like this: Array.prototype.map = ...
Fill it with 'undefined' according to new Array() length, it seems to be working in this case
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
What about sparse array, where can be empty slots?
You need to rewrite the existing "map" method, like this: Array.prototype.map = ...
Fill it with 'undefined' according to new Array() length, it seems to be working in this case
This comment is hidden because it contains spoiler information about the solution