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.
Oh, now I finally see it, so trivial. As they say, "The eyes do not see what the mind does not want.". I expected something more complicated.
Well, that is obvious, but how does it work, how is it called in JS universe so I can look up this method etc.. ?
This comment is hidden because it contains spoiler information about the solution
It seems really too easy even for a complete beginner.(which I am)
This comment is hidden because it contains spoiler information about the solution
I don't understand how this works, can someone please explain? According to JS operator precedence etc., we will first do this "(n + 1)", then we multiply it by "n" and then we divide by "2". But that obviously doesn't make sense so...? :-) (just a beginner here)
Exactly, my words sir. Of course it might make common sense to some, but even if I figure that out, I will still follow the given rules, which in this case are that each side has to be bigger than 0. No matter what common sense says or does not ;-)
This comment is hidden because it contains spoiler information about the solution