Question: javascript check if object has null property?
Answer: function isEmpty(obj) { for(var key in obj) { if(obj. ... 
var myObj = {}; // Empty Object if(isEmpty(myObj)) { // Object is empty (Would return true in this example) } else { // Object is NOT empty } ... 
Object.