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
I don't know why this function got 16 points?
8 lines(8) + 1 if statament(2) + 1 method(4) = 14 point, where are the rest 2 points?
for loop = 2 points?