結果 : check for empty object in javascript