var start = {}; var obj = {}; var a = start; obj.a = 5; obj.b = start; for(var key in obj){ console.log(obj[key] === start); } // false // true