結果 : check for non empty object javascript