for (let i in nums) { fns.push(function () { return i; }); continue; }