OneLineWondersCode | 1000+ Commits | 279/300 One Liners | 200+ Forks | Actively maintained open-source collection of "one-line" programs performing various tasks in different languages
This function maps an array similar to Array#map(), but a lot faster and not spec-compliant. The first argument is your array, and the second argument is the callback. The arguments passed to the callback are the current item, the index of the current item, and the original array.
Please describe your program and how to run it.
This function maps an array similar to
Array#map()
, but a lot faster and not spec-compliant. The first argument is your array, and the second argument is the callback. The arguments passed to the callback are the current item, the index of the current item, and the original array.What Programming Language?
JavaScript