阅读背景:

如何在javascript中检查取回的响应是否是json对象

来源:互联网 

I'm using fetch polyfill to retrieve a JSON or text from a URL, I want to know how can I check if the response is a JSON object or is it only text I'm using fetch polyfill to retrieve a JSON or




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: