摘要: 1 //是否是json类型 2 function isJson(data){ 3 return (typeof data === 'object' && data+'' === '[object Object]'); 4 } 5 //是否是数组 6 function isArray(dat... 阅读全文
posted @ 2015-12-02 20:50 liuwt365 阅读(169) 评论(0) 推荐(0)