1.JS由哪幾部分組成: ECMAScript Bom Dom 2.如圖定義變量xmlHttpRequest不加 var 則是全局變量,如果加var,則是局部變量,只能在funcrion register(){}中用 image.png