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 thought that too! mega confused until i realized we were manually changing the length property.. object lengths are undefined... when array.from coerced it into an arr it managed to extract the length property, i was mistakenly thinking length was somehow going all the way to 0 on its own haha
appreciate the reply! but if Array.from() converts the argument given to an array, why does it stop at [5,4,3,2,1] with 5 elements instead of [5,4,3,2,1,0] ?
hmm.. why doesn't length go all the way to 0? if {length} is translated to {length: 5} and returns 5 then decrements, why does it turn into [5,4,3,2,1] ?
fantastic!
because with positives youre not meant to get the sum, youre meant to get the count of positive numbers , i.e. how MANY positive numbers appeared
bloody incredible mate
!= loose comparison is super cool...
not a group guys, if something is within brackets [] its called a range. a group would be chars surrounded by parenthesis e.g. (abcdef)
This comment is hidden because it contains spoiler information about the solution
wow what on earth is this haha
really cool how (v ==='good') coerces to 1!
brilliant, thanks for commenting
super cool !
super cool !