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.
I liked your code Bro
you can also use the loose operator just in case someone mistakenly types the number as a string.
What I like about this solution is it fixed the inherent bug of Truthy vs Falsy and evaluates the actual input.
love this one
lol
This comment is hidden because it contains spoiler information about the solution
poor performace, you need to sort whole array to get a result
Can you please explain that last line? It's not very intuitive as for me.
Edits complete, potential cheats disabled. Issue resolved.
Thanks for the suggestion, I will disable them right now :D
Don't forget to prevent
.toLocaleUpperCase()
and.toLocaleLowercase()
.Your right! This could be misleading because the description is talking about unique IDs. Therefore I added a note to the description's text.
One of the cases creates a random array. In this random array are occurences of the same value. Your instructions make no mention of an array with multiple values.
This comment is hidden because it contains spoiler information about the solution
I didn't know of a shorthand evaluaiton such as that.
Very well explained, thank you.
Loading more items...