結果 : how to test for empty object in javascript