- Const vs let - Full variable declaration (let name: string) - Type inference - const defaults to literal types (type narrowing)
- Any
- For debugging
- Why is it unsafe?
- Any vs unknown
- Types
- literal types
- union types
- type refinement from a union type (guard functions)
- undefined (optional types)
- control flow analysis