Tell us what’s happening:
I wrote a solution to the problem, which looks the same as the required in the console, but when I run the tests it turns to be wrong.
In the following screencap you can see in the console the array I returned, and how it seems to be the same as the required:
I solved it applying resetting the code and applying the change you pointed out before. Apparently I made changes in other parts of the code when checking the solution and forgot to change them back.