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.
TypeScript
In which language did you find that?
test case
it("Testing for [12, 0]", () => assert.deepEqual(productArray([12, 0]), [0, 0]));
is wrong0 - is number and can be expected
Fixed.
The reason is that in VS Code you use another version of Node than on Codewars.
array.at() does not work. Error: "array.at is not a function". In Visual Studio Code it works properly. what is the reason?
it's really simple. only think before coding)))
Cool! Coding is quite simple, but the result ...!
it looked difficult, but the solution surprised me))))