結果 : javascript check if variable is array or string