Sure i can do:
var obj = {};
if(Object.keys(obj).length == 0)
but i was curious if there is a way to say:
var obj = {};
if(obj.hasKeys())
or even:
//already tested, and this doesnt work. its true because it *is* something.
var obj = {};
if(!obj)