```
package main
import "os"
func main() {
for _, arg := range os.Args {
defer func() { println(arg) }()
}
}
```
` go run for.go hello world` 输出是什么?
https://www.gmarik.info/blog/2016/understanding-golang-for-loop-with-closures/
有疑问加站长微信联系(非本文作者)