1 function isEmptyObject ( obj ) { 2 if (typeof onj != 'object') return false; 3 for (var i in obj ) { 4 return false; 5 } 6 return true; 7 }
1 function isEmptyObject ( obj ) { 2 if (typeof onj != 'object') return false; 3 for (var i in obj ) { 4 return false; 5 } 6 return true; 7 }