Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    It would make no difference making a new variable just to assign to for storing the new array, considering the old parameter is never used again. It will only make the code less readable.

    Considering that the block of code is more maintainable as-is, such a practice rule does not apply here.