JavaScript(BOM)

227 阅读1分钟

BOM就是浏览器对象模型

window

  1. alert()
  2. confirm()
  3. prompt()
  4. setInterval()
  5. setTimeout()

location

  1. href
  2. hash
  3. url
  4. reload()

screen

history

  1. go