window.你应该使用 settersandgetters 或 proxies来替代.查阅 Browsercompatibility以获取更多信息. unwatch()删除一个 watch()设置的 watchpoint