boda_jsEnv/env_xbb_lastest_bo/env/getComputedStyle.js
xuxiaobo-bobo 4a7e1ca141 '0611'
2023-06-11 23:54:09 +08:00

17 lines
476 B
JavaScript

// getComputedStyle对象
getComputedStyle = () => {
console.log(`使用 getComputedStyle arg->`, arguments);
};
bodavm.toolsFunc.safefunction(getComputedStyle, "getComputedStyle");
bodavm.toolsFunc.defineProperty(getComputedStyle, "length", {
configurable: true,
enumerable: false,
writable: false,
value: 1
});
bodavm.toolsFunc.defineProperty(getComputedStyle, "name", {
configurable: true,
enumerable: false,
writable: false,
value: 'getComputedStyle'
});