lynn汤圆  

2017年5月17日

摘要: 1、instanceof是用于测试对象类型,通常格式为:a instanceof b,返回true或falise,表示为对象a是否是类型b的实例。 typeof则是用于测试基本类型,包括undefined, null, number, boolean, string, object。通常格式为: t 阅读全文
posted @ 2017-05-17 10:27 lynn汤圆 阅读(299) 评论(0) 推荐(0)