mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
7 lines
1.1 KiB
JavaScript
7 lines
1.1 KiB
JavaScript
// HTMLAllCollection对象
|
|
bodavm.memory.globalobj['HTMLAllCollection'] = function HTMLAllCollection(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
|
|
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['HTMLAllCollection'], "HTMLAllCollection");
|
|
bodavm.toolsFunc.defineProperty('HTMLAllCollection', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLAllCollection'].prototype, "HTMLAllCollection", "length_get", arguments)}, set:undefined},'prototype');
|
|
bodavm.toolsFunc.defineProperty('HTMLAllCollection', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLAllCollection'].prototype, "HTMLAllCollection", "item", arguments)}},'prototype');
|
|
bodavm.toolsFunc.defineProperty('HTMLAllCollection', "namedItem", {configurable:true, enumerable:true, writable:true, value:function namedItem (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['HTMLAllCollection'].prototype, "HTMLAllCollection", "namedItem", arguments)}},'prototype');
|