String对象
属性 字符串对象.length
方法;var str="this is JavaScript"; var strLength=str.length; //长度是18
字符串对象.方法名();
Math对象
Date对象
小结 bom对象
window
属性:location
window.location = "http://www.bdqn.com";
方法:
alert()
prompt()
confirm()
open()
close()
setTimeout()
setInterval()
这些方法使用的时候可以省略window.
history对象
方法:
back()
forward()
go(-1) go(1)
location对象
方法:
reload()
replace()