Immediately invoked function expression
(function (name) { console.log("hello", name); })("bob");
Output
hello bob
package main import "fmt" func main() { func(name string) { fmt.Println("hello", name) }("bob") }
← interval files→