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.
Brain power overload ❗❗❗ Cannot compute
What in the world
😅 Well that's embarassing. I thought it was giving me the SAME error for the first part. Thank you.
Right... but it should be returning -1, just like it returned 7. That's literally the only thing I changed. Why is "return -1;" returning "undefined"? When I changed "-1" to "7", it returns "7", not "undefined".
The error message works like this:
And you can see that when you returned 7 instead.
This comment is hidden because it contains spoiler information about the solution
One of the most readable short form answers. 👍
Thank you)
those are just the variables names with silly 'unreadable' labels. Definitely NOT a best practice.
Excellent comments and readability