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.
.
This comment is hidden because it contains spoiler information about the solution
You are a fantastic teacher, thank you for sharing this, taught my (noob) brain a lot.
Example should use equality comparison ('===' or '==') rather than single equals signs ('=').
After re-reading the details that may be the case. It wasn't specified as being an item to be removed. It does pass the current set of tests though - needs more tests and or author feedback.
This comment is hidden because it contains spoiler information about the solution
Nice problem. My one comment is that this might be a more universally applicable challenge if the string to test against were passed in as an argument to the function, rather than set as a global variable.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That makes sense. Thanks for the explaination @Balkoth.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Would be worth adding some tests. Also I kind of agree that leaving out the loop skeleton would make this a little more interesting.