window与BOM的关系: 1、https://www.jianshu.com/p/f5409202a835 转载于:https://www.cnblogs.com/MisterZZL/p/10765666.html