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 looks like you're using https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing which is only available since node 14. Are you sure that you have node 18 selected at the top?
The
??
operator is not supported by the node version you're training in. Make sure you have node 18 selected or, if node 18 is not available, rewrite your code without using??
.I'm writing in js and it's not clear to me what is required of me. I've refactored the code several times, but I get the same error when I try to
Chai + assert for CoffeeScript
See the third example in the kata's description.
Someone know why does this happen:
should ignore case: '(())())' should equal ')())())'
Besides that test everything ok :)
Lua translation!
I cannot replicate. It seems like someone cleared them at some point (the random tests use
rand
, notrandom
)fixed
closing as user error. The user likely created a regexp dynamically without escaping special characters.
Thanks for the help, i will check it out :)
it's hard to read your code because you didnt use code blocks so some characters got interpreted as formatting. That being said, it looks like you are creating a regexp dynamically without proper care. this might be of interest to you
"Is my code incorrect?"
"No, it is all twohundredthousand other solvers who are wrong."
Loading more items...