Legend quest ยท reward 50 XP
{ x in x+1 } is a closure.
Egg hatching ยท 0%
Finish every step to hatch your monster!
Step 1 / 6
๐พ{ x in x+1 } is a closure. ๐ Why it matters: Games use this to remember your score, your lives and your level.
let inc: (Int)->Int = { x in x+1 }Tip: press Enter to continue