第一章 数据类型
1,六种数据类型:原始类型(number,string,boolean,null,undefined) + object对象(Function Array Date)
2,隐式转换:NaN≠NaN,null==undefined,new Object≠new Object(用引用来比较而不是值), new Object()==new Object(),null==undefined
3,类型检测:typeof(typeof null==="object") 原始类型
instanceof(obj instanceof Object) 对象类型 基于原型链判断
object.prototype.toString
constructor duck type
第二章 表达式和运算符
1,逗号运算符:var a=(1,2,3)那么a=3取最右
2,delete运算符:
3,new运算符:new创造构造器实例
原文:http://www.cnblogs.com/colima/p/5027318.html