How to pass Basic tests on codewars?

Playing codewars(JS). If the check fails one of the Basic tests. All information about the error you see is Expected: true, instead got: false. Is it possible to see an example where the error occurred?
March 20th 20 at 11:49
2 answers
March 20th 20 at 11:51
Solution
All thanks, the question is closed, due to the poor knowledge of English did not fully understand the problem, incorrectly handled empty arrays.
March 20th 20 at 11:53
Don't know what basic tests I mean, I just solve problems at the bottom under the editor window is the window with the tests. When run, the test results are displayed on the left, look what the account has not passed (e.g. the third and eighth) and therefore find those tests.
There is a sample test run button, the tests pass, and the attempt button, when pressed, run more tests, here is one of them and does not pass
5cce9183ad3d1142930974.png - Korbi commented on March 20th 20 at 11:56
@Nicholaus.Fer, a link to the job - marcelina.Scho commented on March 20th 20 at 11:59
@Nicholaus.Fer, understand, I think, these tests cannot be viewed. - brittany.Russel commented on March 20th 20 at 12:02
@Joshua.Fer, you Can view input data through the console.log - marcelina.Scho commented on March 20th 20 at 12:05
@Carmelo.Feeney, yeah, great idea, this is just what you need to the author of the question - brittany.Russel commented on March 20th 20 at 12:08

Find more questions by tags JavaScript