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