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.
thats really clever! thanks
Wasn't expecting this but wow
I should use more builtin functions. Thanks
you are clever!
I'm surprised this one doesn't have more best practice votes since it early exits.
Thanks. Again my fault.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/NaN
My code didn't work. Says that the output is NaN
What on Earth
Nice one.
Of course, I was just commenting because for me, as a mathematician, it was on the first glance confusing that this actually works :D
To be fair, the type definition is Int -> Int, not (Num a) => a -> Int, so a Double would never be allowed into the function.
Ok,please forgive me,I'm new
I'll pay attention to that
In the name of all that is sacred, if you post solution to Discourse, please, mark it as spoiler. It is visible on the main page.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...