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.
No, this is the test,
it is correct.
test is return worong
I would say that's a bit messy syntax. Function should be declared at least with 'const' keyword.
to
is less than five letters, so it should remain unchangedThis comment is hidden because it contains spoiler information about the solution
well, this kata doesn't do that. And, + is an operator.
It converts it to a number, fairly obvious 😉
Yes, read the instructions again and try some tests like this one:
enough(20, 5, 5)
what is your code returning?Your solution is wrong.
No, you had to write you own tests, I've added some now.