When using the map method on an array in JavaScript, the original array ______ be mutated.

  • may
  • will
  • must
  • can't
When using the map method on an array in JavaScript, the original array can't be mutated. The map method creates a new array with the results of calling a provided function on every element in the original array without changing the original array itself.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *