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
Edit : ok, things start to differ after 4th year (
~~(900*.8*.8*.8*.8)
!=~~((((300*.8)*.8)*.8*.8)*3
)This comment is hidden because it contains spoiler information about the solution
Ok do not know why assertSimilar don't work... Anyway I sort the object to be safe.
I already use
assertSimilar()
, I don't get it... Any idea ?I will find a fix soon.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Interesting strategy! Brilliant!
Possibly you could also compare the regex's test method to an untouched regex's test method?
multipleof3Regex.test === /abc/.test
Done. The first option only; actually I'm checking the object itself, as people might not modify the prototype's method but the object's one. Thanks for pointing it out.
Done!