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.
Hello. I faced a problem while solving a JS task: tests [3, 5, 4, "It is possible to reach n=4 liters in one jug"] fail. The correct answer [3, 4] is specified in the task description, I even tried to substitute it manually into the return, but it didn't work. It looks like there is an issue in the _checker function in the tests. The test fails with this error:
TypeError: l.at(...).includes is not a function
at _checker (test.js:17:17)
at act (test.js:177:19)
at Context. (test.js:166:13)
at process.processImmediate (node:internal/timers:471:21)
Translated with DeepL.com (free version)