mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-23 08:29:24 +08:00
17 lines
385 B
JavaScript
17 lines
385 B
JavaScript
// stop对象
|
|
stop = () => {
|
|
console.log_copy(`使用 stop arg->`, arguments);
|
|
};
|
|
bodavm.toolsFunc.safefunction(stop, "stop");
|
|
bodavm.toolsFunc.defineProperty(stop, "length", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 0
|
|
});
|
|
bodavm.toolsFunc.defineProperty(stop, "name", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 'stop'
|
|
}); |