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 is a bit late but maybe it helps.
I use the Mozilla- Documentation(link below) for Javascript
https://developer.mozilla.org/de/docs/Web/JavaScript
and to really get in to the details i use a Stackoverflow search.
https://stackoverflow.com/
hope i could help you :)
It does make sense since the empty string
ε
is a substring, prefix and suffix of every string.If you want to learn more about it you can start here, and more in depth here :)
Yup, doesn't make sense to me too. I am getting similar error with second string being empty. But still, have made the adjustment as per the error.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Why did you set this as a test: Expected solution('abc', '') to return true: expected false to equal true
It doesn't make sense with the instructions that you specified.
Please read the description.
Each line is seperated with \n
Did this guy mess up his own test case? My code created the output on sperate lines and counts it wrong because, I believe, he case the test results set to physically have "/n" instead of having a new line.
Ahh... I just saw your code after I submitted mine. We almost have the same exact code. Good job!
w.o running the code, it's probably b.c you didn't split the, into characters and kept them and full strings.... but I'm still pretty new at coding.
NO!!! WE'RE FCKN CHAMPIONS! Learn from this and we will be great soon.
I am not worthy!!!!