The for…of statement creates a loop iterating over ________ objects in JavaScript.

  • enumerable
  • all
  • array-like
  • visible
The for...of statement in JavaScript creates a loop that iterates over array-like objects, which include arrays, strings, maps, sets, and other objects that have iterable properties. It's particularly useful for iterating over the values of such objects.
Add your answer
Loading...

Leave a comment

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