function functionbibao1()
{
var name= "The Window";
var object={
name: "My Object";
getNameFunc : function(){
var that=this;
return function(){
return that.name;
};
}
};
alert(object.getNameFunc()());
}
有待解决,还没实现。