HF RL Explorer

Task: Investigate JavaScript Array Mutation Behavior

Task: Investigate JavaScript Array Mutation Behavior: a task in Terminal-Lego-15k (Harbor dataset). You need to investigate and demonstrate whether JavaScript's .sort() and .filter() array methods mutate (modify) the original array or return a new array.

The task

You need to investigate and demonstrate whether JavaScript's `.sort()` and `.filter()` array methods mutate (modify) the original array or return a new array.

Part of PrimeIntellect/Terminal-Lego-15k.