mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-23 04:04:25 +08:00
11 lines
434 B
JavaScript
11 lines
434 B
JavaScript
WindowProperties = function WindowProperties() {
|
|
return bodavm.toolsFunc.throwError("TypeError","Illegal constructor")
|
|
// throw ReferenceError(`WindowProperties is not defined
|
|
// at <anonymous>:1:100`)
|
|
;
|
|
}
|
|
bodavm.toolsFunc.safeProto(WindowProperties, 'WindowProperties')
|
|
WindowProperties.prototype.__proto__=EventTarget.prototype;
|
|
WindowProperties.__proto__=EventTarget;
|
|
delete WindowProperties.prototype.constructor;
|