mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-23 08:29:24 +08:00
17 lines
512 B
JavaScript
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'
|
|
}); |