Ad
  • Custom User Avatar

    I think I'm mutating array on accident, which is causing the test to fail.

  • Custom User Avatar

    I'm getting an odd error after running my attempt. For example, the Output says "Expected: '[66, 48, 'x']', instead got: '[66, 48, 43]'". I logged the array that was passed into the function and it was [66, 48, 43], so based on the instructions my answer should be right. This is happening for several test cases that the Ouput is stating it expected an array and several elements in that array are 'x'. I'd appreacite any help or explanation.