xuxiaobo-bobo a27aa6f31b '0605'
2023-06-05 23:25:43 +08:00

6 lines
786 B
JavaScript

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