結果 : check if variable object javascript