标签:
补充:
JS数据类型:
*特殊类型-null/undefined
*内置对象(基本类型)-Number String Date Math Boolean Array Function
*外部对象- window document
*自定义对象
eg: function Coder(name,age,work){
this.name=name;
this.age=age;
this.work=work;
}
var coder=new Coder("Jack",20,function(){...}); //也可不传参
标签:
原文地址:http://blog.csdn.net/lh_0618/article/details/51367664