var WindowProperties = function WindowProperties() { // 构造函数 }; catvm.safefunction(WindowProperties); Object.defineProperties(WindowProperties.prototype, { [Symbol.toStringTag]: { value: "WindowProperties", configurable: true } }) // 设置原型的父对象 WindowProperties.prototype.__proto__ = EventTarget.prototype;