In JavaScript, a for…in loop is used to iterate over the ________ of an object.

  • properties
  • values
  • methods
  • variables
In JavaScript, a for...in loop is used to iterate over the properties of an object. It is commonly used for object iteration, and it iterates through the keys or property names of an object.
Add your answer
Loading...

Leave a comment

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