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.
Nice one, I wanna share my feedback:
Happy coding!
oh i forget about the i flag (Ignore Casing)
This comment is hidden because it contains spoiler information about the solution
Nice attemp! I would recommend you to check output of the filter method, there is no need to make a new array, Array methods like filter (and map) returns an array.