Sobes.tech
Junior — Senior

What output will appear in the console (task 21)

livecode

Task condition

Determine what will be printed to the console after executing the following program.

func main() {
    defer fmt.Println(1)
    time.Sleep(1 * time.Second)
    go fmt.Println(2)
    go fmt.Println(3)
}