Which are the different ways to enumerate all properties of an object?
A. for...in loops
B. Object.getOwnPropertyNames()
C. Object.keys()
D. All of the above
Answer:D
Which are the different ways to enumerate all properties of an object?
A. for...in loops B. Object.getOwnPropertyNames() C. Object.keys() D. All of the above