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

17 lines
512 B
JavaScript

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