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.
Tests are too weak: 3 fixed test, 1 quine test, and no random tests.
This kata is impossible to perform "correctly" short of writing a full blown JS parser. This should not be the intention.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Pretty awesome...
It seems your code doesn't take into account chained method calls. I tried optimising my code to
f.toString().replace(...)
but it kinda broke everything? Not sure why, but I guess it's related. Would be great if you could look into it, or look over my code and see what's going on there..?This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thanks for pointing these things out! I've updated the description and fixed the issue described!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Thank you. I changed it to assertSimilar.
I think let user return an number array like this:
It will be more clear, I think.
Any way, you should change your test method to
Test.assertSimilar
Thanks for the feedback, let me add the expected values
Loading more items...