And smart programmers (like me) will have a stash of snippets to copy and paste for these kind of regularly emerging scenarios anyway :P, so it's really the same thing.
Meh, I could have implemented it myself, but why do that when a library is provided? It's not like the problem was asking for an implementation of binary search.
Protip:
https://github.com/Codewars/codewars-runner-cli/blob/master/documentation/environments/node.md
And smart programmers (like me) will have a stash of snippets to copy and paste for these kind of regularly emerging scenarios anyway :P, so it's really the same thing.
Meh, I could have implemented it myself, but why do that when a library is provided? It's not like the problem was asking for an implementation of binary search.