xuxiaobo-bobo 28c0fc3999 '0218'
2023-02-18 03:07:48 +08:00

7 lines
1.1 KiB
JavaScript

// DOMStringList对象
bodavm.memory.globalobj['DOMStringList'] = function DOMStringList(){return bodavm.toolsFunc.throwError("TypeError", "Illegal constructor")}
bodavm.toolsFunc.safeProto(bodavm.memory.globalobj['DOMStringList'], "DOMStringList");
bodavm.toolsFunc.defineProperty('DOMStringList', "length", {configurable:true, enumerable:true, get:function length (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMStringList'].prototype, "DOMStringList", "length_get", arguments)}, set:undefined},'prototype');
bodavm.toolsFunc.defineProperty('DOMStringList', "contains", {configurable:true, enumerable:true, writable:true, value:function contains (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMStringList'].prototype, "DOMStringList", "contains", arguments)}},'prototype');
bodavm.toolsFunc.defineProperty('DOMStringList', "item", {configurable:true, enumerable:true, writable:true, value:function item (){return bodavm.toolsFunc.dispatch(this, bodavm.memory.globalobj['DOMStringList'].prototype, "DOMStringList", "item", arguments)}},'prototype');