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.
Use spoiler flag next time please.
This comment is hidden because it contains spoiler information about the solution
No problem, I raised an issue about the error message being confusing above, because, it is in that case.
Oh right - that makes sense sorry I didn't think of that
Thank you for your help :) :)
In javascript (at least), create the string of the input value in the error message before the user can change it. When they mutate the input, the error message is misleading otherwise.
There is no such test, I'm guessing you're mutating the input value. Use
console.log(board)
as the first line in your code to see the input as it was before your code mutated it.Thanks for your response could you explain please where I am going wrong with this one
Expected 'true' on input of
- Expected: true, instead got: falseAll javascript tests are ok. And if they weren't, you have to provide proof, like the input value, the expected value, the value you're returning and think it is the correct one.
Lots of the testcases are not correct in javascript!
What is the best practice for Unicode strings then?
Suprised so many have upvoted this. Concatination is slow and it does not work for non ASCII strings.