javascript中原型,构造器,还有E5扩展的默认成员

时间:2014-05-24 03:20:05   收藏:0   阅读:442

对象原型所具有的基本特征:
1.toString()
2.toLocaleString()
3.valueOf()
4.constructor()
5.propertyIsnumerable()
6.hasOwnProperty()
7.isPrototypeOf()


构造器所具有的特殊成员
1.call()
2.apply()
3.caller()
4.bind()
5.arguments [object]
6.length [number]
7.prototype [objcet]

E5对于Object对象进行扩展.
1.create()
2.getPrototypeOf()
3.defineProperty()
4.defineProperties()
5.getOwnPropertyDescriptor()
6.keys()
7.getOwnPropertyNames()
8.seal()
9.freeze()
10.preventExtensions()
11.isSealed()
12.isFrozen()
13.isExtensible()

javascript中原型,构造器,还有E5扩展的默认成员,布布扣,bubuko.com

原文:http://www.cnblogs.com/guoyansi19900907/p/3736668.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!