for(var i=0;i<2;i++){
(function(index){
alert(index)
})(i)
}
循环引用中的闭包
猜你喜欢
转载自www.cnblogs.com/lianjinzhe/p/9111230.html
今日推荐
周排行