In a custom iterable, the next() method should return an object with two properties: value and ________.

  • done
  • index
  • result
  • previous
In a custom iterable, the next() method should return an object with two properties: value, representing the current value in the iteration, and done, a boolean indicating whether the iteration is complete.
Add your answer
Loading...

Leave a comment

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