js怎么判断数据类型 js文件中怎么判断返回的数据是不是string类型的if ((typeof reqdata) == "string") { reqdata = JSON.parse(reqdata);}