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.
Using reg exp is bad practice, they work too slow , try to escape
This comment is hidden because it contains spoiler information about the solution
Awesome! I understand now. Thank you all.
This comment is hidden because it contains spoiler information about the solution
Love this
that was nice and clean.
This is such a clever solution! I wanted people to know what is happening with result.push on each iteration because this looks so cool, here is an example with "hello" as our argument:
"" + "H" + "ello" = "Hello"
"h" + "E" + "llo" = "hEllo"
"he" + "L" + "lo" = "heLlo"
"hel" + "L" + "o" = "helLo"
"hell" + "O" + "" = "hellO"
Uh, so close )
How do you guys rate my solution? Can't get any feedback anywhere else.
Very readable 👍
This comment is hidden because it contains spoiler information about the solution