Accepted Answer · #65 · 2026-06-08
Which answer is correct?
Difficulty 1/3
How to play
Read the Stack Overflow–style question, then pick the one correct answer from four plausible options. Watch out — wrong answers often have high fake votes.
How to check if an object is empty in JavaScript?
I want to check if `{}` has no own properties. What's the most reliable way?
javascriptobjectsvalidation
Loading your progress...
Press 1 through 4, or tap a numbered choice, to answer. Back to hub