結果 : javascript check if variable is object not array