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.
What is even happening here???? Can someone explain how this works? I love that there is no regex...this kata seemingly was only solved by regex. was looking for a way to not use it and found this buuuuuut ???? Nice work either way!
replace works a little slower
Why
Agreed
this is not a rank 4 kata
use .replace(/(\s*$)/g, "") instead of trim()
😳
should be no
wow... why always u?