Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

block

Code between { and }, whose last expression is its value.

A block { ... } runs its statements and evaluates to its final expression, or () if there is none.

Examples

  • With price equal to 40, let total = { let tax = price / 10; price + tax }; sets total to 44.

Read the full section →