首页 新闻 会员 周边
2
回答数

回答被采纳 js的作用域问题

const Greeters = [] for (var i = 0 ; i < 10 ; i++) { Greeters.push(function () { return console.log(