js中new Function的用法

转自:http://www.cnitblog.com/yemoo/archive/2007/09/25/34017.htmlhtml 有一种用法比较特别:this var foo3 = new Function('var temp = 100; this.temp = 200; return temp + this.temp;'); alert(typeof(foo3)); alert(foo3(
相关文章
相关标签/搜索