Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Need to improve on instructions text
doesnt this throw error for numbers as params?
Example: greetingForAllFriends(34);
I agree. changing prototype is not a good practise. But using filter method is good.
This comment is hidden because it contains spoiler information about the solution
toString() is not required :)
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
The regex flag, 'i', might not be needed.
But the question doesnt explicitly say that it needs case sensitive comparison, although the tests pass without the flag, 'i'.
Efficient code :) but not straightforward to understand.