結果 : check for an empty object javascript