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.
LoL, just LoL =)
Clever!
Awesome!
So readable! Amazing!
I want to say it used to say "positive integers," which is why I said that in my comment? But it was way too long ago to know for sure. I was aware that 2 floats wouldn't work, but the code has to get longer to validate for those, so it's very likely I just tried with what I had and when it passed, went with it cuz it's prettier.
The inputs "should both be numbers that are above zero". That means integers or floats afaik. Your solution doesn't work if both numbers are floats.
Perhaps the test cases should be extended or the description should be changed accordingly.
Nice trick with the + to convert toFixed's string output!
2333333333333333333....
Haha - this is the kind of thing you'd see on thedailywtf
(:
I never would have thought of that :P
我了个叉。。。。。
niubility!!笑死...
wow such simple code
http://jsperf.com/what-is-the-best-range/3
That's really crazy....
Beautiful!
哥们,你碉堡了
Loading more items...