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.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/length
JavaScript
Is there issue with fixed tests and random tests? When input is empty array and my solution gives -1 for output the message from tests is: "expected -1 to equal 0". But when I change my solution and output now is 0 for empty array the message from tests is: "expected 0 to equal -1".
JavaScript
On "run random tests" I get this message: "expected true to equal false". But my solution gives "false" to all random tests.
Problem with tests - node v10:
STDERR:
No output was produced.
Make sure tests are written properly using
describe
andit
(required for Node 10).