xuxiaobo-bobo 24cbc7a3fa '0711'
2023-07-11 15:19:33 +08:00

24 lines
671 B
JavaScript

// DOMParser对象
DOMParser = function DOMParser() {
bodavm.toolsFunc.symbolProperty(this);
if (arg != 'bobo') {
console.log_copy('DOMParser 实例化对象 --->', JSON.stringify_bo(arguments, function (k, v) {
if (v == window) {
return 'window';
} else {
return v;
}
}));
}
;
};
bodavm.toolsFunc.safeProto(DOMParser, "DOMParser");
bodavm.toolsFunc.defineProperty(DOMParser.prototype, "parseFromString", {
configurable: true,
enumerable: true,
writable: true,
value: function parseFromString() {
return bodavm.toolsFunc.dispatch(this, DOMParser.prototype, "DOMParser", "parseFromString", arguments);
}
});