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
Hahaha!
Where do you want to place
++i
?This comment is hidden because it contains spoiler information about the solution
Variable usege w/o declaration is very dangerouse, especially in JS. This construction is much better:
const oddOrEven = ...
Lookslikeyouhavebroken_SPACEBAR_onyourkeyboard.Fixit,please.
The fastest solution will not iterate whole the array.
This comment is hidden because it contains spoiler information about the solution
But, where are you declare
c
?!++idx
is denerous, use(idx + 1)
instead.This comment is hidden because it contains spoiler information about the solution
The logical OR operator already returns bollean value. Just prepend with logical NOT.
3 people marked this solution as "Best Practice". WHY???
PHP?????
This comment is hidden because it contains spoiler information about the solution
Loading more items...