01 2017 档案
跨域
摘要:跨域可以使用谷歌的插件解决:https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi 或者谷歌开启允许跨域,参考 http://camnpr.com/arc
阅读全文
js判断数组
摘要:1.constructor 在W3C定义中的定义:constructor 属性返回对创建此对象的数组函数的引用 就是返回对象相对应的构造函数。从定义上来说跟instanceof不太一致,但效果都是一样的 如: (a instanceof Array) //a是否Array的实例?true or fa
阅读全文
浙公网安备 33010602011771号