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.
The sample tests use
assertSimilar
while the submission tests useassertDeepEquals
. These assertions have slightly differing semantics:extend
ingArray
, I pass the full tests but I fail thegetSplit
sample test:suggested tag:
restricted
JS: Node v14 should be used along with its appropiate assertion tools (Mocha + Chai).
Refer to this and this
This description makes zero sense; the expected behavior is extracting the
n
'th element of an array.This is not enforced.
This doesn't seem to be tested at all.
In
double
andmultiply
:If this is meant to imply the method should mutate the array they're called on, it's not tested that way (and not everyone implements it that way).
Either way, it's unclear.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Expected: Hello World!, instead got: Helo World!
Couldn't pass the test. What does it mean?
Any hint ? I'm stuck, I always got
Error: Strings are not allowed.
even if I return a numberDo you think also disallowing the "String" constructor would be a good idea? It allows for some answers which are very simple so it's a bit more challenging without.