結果 : check if variable is not empty object javascript