Smart coder
That's how JavaScript works. This kata is just to show us this weird behavior. Btw he didn't consider null as numbers.
null
Thanks :)
Hi tyyr. Adjusting the index one "to the right" from 0->1 is the same as shifting the actual array elements one "to the left." Keep in mind the sequence wraps around.
This comment is hidden because it contains spoiler information about the solution
Oh right, I didn't know :P.
Is this faster than a normal for loop?
nice
Why would you consider null or NaN to be numbers? This kata doesnt make any sense to me.
Yes it does
EDIT: No it doesn't :P
4000 iq
Doesnt work for the year 248993559122 :p
Loading collection data...
Smart coder
That's how JavaScript works. This kata is just to show us this weird behavior. Btw he didn't consider
null
as numbers.Thanks :)
Hi tyyr. Adjusting the index one "to the right" from 0->1 is the same as shifting the actual array elements one "to the left." Keep in mind the sequence wraps around.
This comment is hidden because it contains spoiler information about the solution
Oh right, I didn't know :P.
Is this faster than a normal for loop?
nice
Why would you consider null or NaN to be numbers?
This kata doesnt make any sense to me.
Yes it does
EDIT: No it doesn't :P
4000 iq
Doesnt work for the year 248993559122 :p