結果 : if variable is object javascript