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.
Wauw, I'm starting to like javascript looking at solutions like this one.
It has so many functions build in for you!
Using eval would not be recommended if you can't control the input (For example 'user input' -> could be executed as code)
This is a Kata though, not a function that would run after some user input on an actual application.
Uuuuurgh my solution is so messy!
Very fun kata!
This comment is hidden because it contains spoiler information about the solution
Can confirm randomTest seems broken
Fun one!
This comment is hidden because it contains spoiler information about the solution
Fun kata , however i feel like the instructions are not complete.
'most frequently used words in the text, then less used.'
What if words occur the same amount of times?
Also in your first testcase the word 'the' occurs 11 times but is not found in your expected result.