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.
agreed, would really like to see this fixed.
Most likely you have not handled the "model" right, since the test case expecting '6' is related to this.
I'm getting this too, did you ever manage to find out what was wrong and if so can you give me any hints?
In this kata, you're basically writting a wrapper object around a primitive.
Yeah-- understandable. Glad it makes more sense now. ;P
1e-7
will move the decimal place to the left 7 places. Resulting in the number 0.0000001. So the returned string should be "0.0000001", not "0.014285714285714285". I have tweaked the test messages to hopefully be clearer as to what's going on. Let me know if this helped.Think of what all objects in javascript have in common.