When iterating over a Map object with a for...of loop, each iteration returns an array where the first element is the _______ and the second is the value.

  • key
  • index
  • property
  • length
In a Map object, the first element of the array returned during iteration represents the key, and the second element represents the corresponding value.
Add your answer
Loading...

Leave a comment

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