Language Expansion
Primitives (dynamic)
- number, bool, string, nil
- runtime type errors are OK
Variables
let,var= mutableconst= immutable- block scoped
Statements
- declarations, assignment, expr
- if/else, while, return, blocks
Functions
fn name(params) { ... }- top-level only (no closures yet)
Truthiness
- false and nil are falsey
- everything else is truthy
1 / 1