var fns=[]; for (var i=0; i<3; i++) { fns.push(function(){return i}); }; fns.map(function(x) { return x.call(); });
[ 3, 3, 3 ]