Javascript - How to know if an object is Empty

URL: http://stackoverflow.com/questions/4994201/is-object-empty
Assuming that by empty means "has no properties of its own"