摘要: 目录instanceofconstructor构造函数名字鸭式辨型三种检测对象的类方式: instanceof、constructor 、构造函数名字用法如下:1)instanceofconsole.log([1,2,3] instanceof Array);trueconsole.log([1,2... 阅读全文
posted @ 2014-05-11 20:42 wishyouhappy 阅读(3701) 评论(0) 推荐(2) 编辑