Check if an Object is Empty

Look at the browser's console to see the result.