Details about JavaScript language spiced up with TypeScript where it applies.
Source: https://javascript.info/
- Hello, JavaScript & TypeScript!
- Code structure
- Variables
- Data types
- Type conversions
- Operators, maths
- Comparisons, Conditionals
- Loops
- Functions
- Nulish coalescing operator
- Error handling (try..catch)
- Basics
- Copying, references
- Garbage collection
- Methods, "this"
- Constructor, "new"
- Optional chaining "?."
- Symbol type
- Object to primitive conversion
- Methods of primitives
- Numbers
- Strings
- Arrays (+ methods)
- Iterables
- Map and Set
- Objects
- Destructuring
- Date and time
- JSON
- Recursion & stack
- Rest and spread
- Scope & Closure
- Global
- Scheduling: setTimeout & setInterval
- Decorators and forwarding (call/apply/bind)
- Callbacks
- Promise (chaining, error handling)
- Promise API
- Promisification
- Microtasks
- Async/await
- Modules (Introduction, Import/Export, Dynamic)
- Coding style
- Debugging (Chrome DEV Tools, NodeJS inspector)
- Polyfills
- Custom errors
Practice exercise: Draw Shapes
- Install Node.js:
- One of LTS or latest: https://nodejs.org/en/
- If you need multiple versions: https://github.com/jasongin/nvs
Checkout the repo
Run npm i