The for...in loop will also iterate over the _______ properties of an object.

  • Enumerable
  • Non-enumerable
  • Private
  • Prototype
The for...in loop will also iterate over the enumerable properties of an object. Enumerable properties are those that can be iterated over using for...in, typically the object's own properties. Non-enumerable properties, private properties, and prototype properties are not included in this iteration.
Add your answer
Loading...

Leave a comment

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