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.
This comment is hidden because it contains spoiler information about the solution
Thank you for your help. But why, when [true] x11 and the XOR operation, do I get the error: “expected false to equal true”? I didn't change the initial data in any way.
Can anyone explain to me why when [true, true, true], XOR = false?
This is literally:
(true XOR true) XOR true = false XOR true = true
There was indeed an error in changing the original array. I have already fixed it myself. I did not know that such an error could occur here. Thanks for your help.
This comment is hidden because it contains spoiler information about the solution
And I specifically check the response in console.log before return, and it's exactly as required in the assignment
Do I understand correctly that in randomized options I should give the answer in the form of numbers and dots? Or what is the error of my variant on the left as opposed to the proposed answer on the right?
expected [ [ 'O', 'O' ], [ 'O', 'O' ], [ 'O', 'A' ], [ 'A', 'A' ], [ 'A', 'A' ], [ 'W', 'W' ], [ 'W', 'W' ], [ 'H', 'H' ], [ 'H', 'H' ], [ 'H', 'H' ] ] to deeply equal [ [ '0', '.' ], [ '8', '1' ], [ '0', '.' ], [ '8', '7' ], [ '1', '1' ], [ '0', '.' ], [ '8', '7' ], [ '0', '.' ], [ '8', '0' ], [ '.', '8' ], [ '1', '.' ], [ '3', '6' ], [ '0', '.' ], [ '8', '7' ], [ '1', '.' ], [ '3', '6' ], [ '1', '.' ], [ '3', '6' ], [ '0', '.' ], [ '8', '7' ], [ '1', '0' ], [ '.', '8' ], [ '0', '.' ], [ '8', '1' ], [ '.', '3' ], [ '6', '0' ], [ '.', '8' ], [ '7', '1' ], [ '.', '3' ], [ '6', '1' ], [ '.', '3' ] ]
In random tests on JavaScript errors in the answers.