結果 : check for empty object javascript