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
one thing to add, if you would rather settle for a built in method, always use indexOf() over includes()
how would you find n?
This comment is hidden because it contains spoiler information about the solution
How can this be done without
indexOf
?Disabled
It seems like I passed it by pure luck first try :D
But I feel you pain bruh.
This comment is hidden because it contains spoiler information about the solution
And I was not notified until now: approved, sorry for the delay!
No problem! I have added a test that equals zero into the test suite now :)
Thanks for the feedback. I have added another test case which equals 0 but I'm not sure if this has solved your issue.
The Kata is meant to be relatively easy and I am happy for both 0 or undefined to work.
Let me know if you have any suggestions.
You are right
It is okay now Giacomo fixed it.
Seems like it's not an issue anymore
I don't know JS so maybe post under GiacomoSorbi's comment to notify him :)
Loading more items...