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.
Learned something new!
So clean!
almost sexy compared to my solution.
The
c=
is the declaration. Since there is noconst
,let
orvar
, it's declared as a global variable.Why not?
Holy moly, this is amazing!
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 = ...
Michacom, sure, am going to fix it as soon as posible. Do you desire something else? Don't hesitate to ask should you have some suggestions.
Lookslikeyouhavebroken_SPACEBAR_onyourkeyboard.Fixit,please.
The fastest solution will not iterate whole the array.
Loading more items...