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.
It will works if every number rise to power and than compare with 285.
Because of the check code. I just spent about 30 minutes trying to figure this out - The types of the two check codes appear to be different so I had to use === rather than == to check them. Then it worked.
The result of 8'th test is:
currentDate = September 5, 2014
expirationDate = September 25, 2014
Date.parse(currentDate) = 1409875200000
Date.parse(expirationDate) = 1411603200000
enteredCode str= 2
correctCode str= 2
Expected: false, instead got: true
Why is it expecting false????