12.
How can you enumerate all the properties of an object in JavaScript?
for...in loop
Object.keys()
Object.values()
Object.entries()
Correct: A, B, D
To enumerate all the properties of an object, you can use a for...in loop, Object.keys(), or Object.entries(). These methods allow you to loop through the object's properties and retrieve their names or values. Object.values() only returns the property values, not their names.