In a for...of loop, the _________ method of an iterable object is called to retrieve values.

  • next()
  • iterate()
  • forEach()
  • value()
In a for...of loop, the next() method of an iterable object is called to retrieve values. The next() method is automatically called in each iteration of the loop, returning an object with the value property containing the current value.
Add your answer
Loading...

Leave a comment

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