window对象:
window.alert
.setInterval每隔多少时间执行一次方法
.clearInterval清除id对应的setInterval
.setTimeOut每隔多少时间执行一次方法,只执行一次
document:onload,onunload,write......