mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 11:41:11 +08:00
18 lines
515 B
JavaScript
18 lines
515 B
JavaScript
// reportError对象
|
|
bodaEnv.memory.globlProtoObj["reportError"] = {
|
|
reportError(a) {
|
|
bodaEnv.toolsFunc.console_copy(`reportError 使用-- >`, a);
|
|
}
|
|
}.reportError;
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["reportError"], "length", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 1
|
|
});
|
|
bodaEnv.toolsFunc.defineProperty(bodaEnv.memory.globlProtoObj["reportError"], "name", {
|
|
configurable: true,
|
|
enumerable: false,
|
|
writable: false,
|
|
value: 'reportError'
|
|
}); |