1.JS由哪几部分组成: ECMAScript Bom Dom 2.如图定义变量xmlHttpRequest不加 var 则是全局变量,如果加var,则是局部变量,只能在funcrion register(){}中用 image.png