摘要:        
要说JS原型继承,肯定会认识Prototype这个对象的属性。但是对它了解有多少呢?百度或者Google一下,但是还是会不明白的。我查了一些小资料,大家还是看一个例子吧,我也对其了解不深。  先区别一下什么是prototype属性,和constructor属性。也就是要区别什么是构造器,函数,对象实例。 其实在JS中构造器就是函数,函数就是构造器,对象实例就是通过var obj=new 函数();...    阅读全文
posted @ 2010-09-30 16:55
e.e.p
阅读(268)
评论(0)
推荐(0)
        
            
        
        
摘要:        
There’s one very important difference between these two methods, and it’s not that one accepts only a tag name and the other accepts a full CSS selector. The big difference is in the retur...    阅读全文
posted @ 2010-09-30 13:42
e.e.p
阅读(274)
评论(0)
推荐(0)
        

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号