Ad
  • Default User Avatar

    Do not change the original parameter array.

  • Default User Avatar

    I also have mutation problems in JS. Solution seems to be correct.
    [ 374, 251, 328, 28, 321, 51, 258, 234, 374, 360, 53, 172, 370 ] Original

    You've mutated input array/list - Expected: [374, 251, 328, 28, 321, 51, 258, 234, 374, 360, 53, 172, 370], instead got: [374, 251, 328, 321, 51, 258, 234, 374, 360, 53, 172, 370]

    please fix this,
    Thank you