如何在lifecript中写一个闭包
for i from 1 to 10 cb = -> console.log i set-timeout cb, i*1000
获得1到10而不是10倍10?
closures livescript
closures ×1
livescript ×1