結果 : check if variable is object javascript