& lt script & gt
var obj = new Object();
obj.a = function(){
name = ' aaa
}
obj . a();
Alarm (name);
& lt/script & gt;
Look at the above column, name is actually an attribute of the window object, which is also a global variable.