Ad
  • Custom User Avatar

    I got an error for a test case that was supposed to be correct.

    This is a summary of my work:

    Original array: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    Number: 2
    New array with evens: [ 0, 2, 4, 6, 8, 10 ]
    Returned array: [ 8, 10 ]

    But I got this error => expected [ 8, 10 ] to deeply equal [ -8, 26 ], but there is no '-8' or '26' in the original array