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.
This comment is hidden because it contains spoiler information about the solution
Too late for such changes
perfect !
Can anybody do me a favor? I do understand it is the arrow function and know how it works. But I wonder why it knows the x is equal to a and y is equal to b?
This comment is hidden because it contains spoiler information about the solution
I like this
Seems clean but, I wonder how to do error handling (Unrecognised operation, type checking values and division by 0) in this cleanly too!
i like it very much, thanks
When I ran "Submit" the first time, it came back with 100 fails.
I added some console.logs and re-ran it, it came back all green.
I removed the console.logs and got another 100 fails.
I added the console.logs back in and it completely submitted, without giving me a chance to refactor.
Which is to say, I think the platform itself may be having issues.
Well...I don't know what the name of this trick?
There're already numerous
O(n)
solutions to the original kata which can be trivially copied from there.perfect
Add
console.info(prev/Math.pow(2,32), prev/Math.pow(2,32) * 26 + 65)
in the middle of the the iife's random function, then run it and see if you can figure out what's happening. ;-)This comment is hidden because it contains spoiler information about the solution
For example, how exactly does the regular expression test truthy for the smiley ";)"?
Loading more items...