摘要:
http://www.cnblogs.com/xiaoshatian/archive/2011/02/14/1954032.html 阅读全文
摘要:
function Student(){ this.name = "khan"; //去掉this和有this的区别 this.info = function(){ alert('info()'); } } var student = new Student(); //创建Student对象student document.write("对象形式1: "+student.name); Student.name = "test"; //声明静态变量 document.write("静态访问1:"+Stu 阅读全文