repl.it
@abouthalf/

FewOrganicProjects

Nodejs

No description

fork
loading
Files
  • index.js
index.js
1
2
3
4
5
var funpack = [];
for(let i = 0; i < 10; i++) {
  funpack.push(function() {console.log(i)});
}
funpack.forEach(f => f());