JavaScript

How to test if an object is empty in JavaScript?

Click the button to test if the object is empty

Output for empty object:

Output for non-empty object: