๐Defer, Panic & Recover WorkshopWORKSHOP
1
2
3
4
5
Step 1
Write a function `countdown()` that defers printing "3", "2", "1" (using 3 separate defer statements) then prints "Go!". Show that defers run LIFO โ output will be: Go! then 1 2 3 on separate lines.
โ Enter (Mac) ยท Ctrl+Enter (Win/Linux)