You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Array.prototype.map() skips holes, but still has corresponding elements in the result. Node doesn't provide the implementation, so I'll close this issue, since there is nothing to be done here.
$ node -v
Version: v9.8.0
$ uname -a
Platform: Linux thiagomata 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ node
Expected:
[ 1, 1, 1, 1, 1, 1]
Result:
[ <3 empty items>, 1, <1 empty item>, 1 ]
https://repl.it/@thiagodamata/MapIngoresEmptyItems
The text was updated successfully, but these errors were encountered: