摘要: 我们知道,JavaScript中检测对象类型的运算符有:typeof、instanceof,还有对象的constructor属性: 1) typeof 运算符 typeof 是一元运算符,返回结果是一个说明运算数类型的字符串。如:"number","string","boolean","object 阅读全文
posted @ 2016-07-07 15:44 hehelele 阅读(200) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/superch0054/article/details/38668017 阅读全文
posted @ 2016-07-07 09:16 hehelele 阅读(177) 评论(0) 推荐(0)