Question What is?
- log/print/show
- message, output, response, input, request
- datatype
- variable
- function
- OPERATOR: Arithmetic operators (+, -, *, /, %)
- OPERATOR: Assignment operators (=, +=, -=, etc.)
- OPERATOR: Comparison operators (==, ===, !=, !==, >, <, >=, <=)
- OPERATOR: Logical operators (&&, ||, !)
- CONDITION: Conditional statements (if, else if, else, switch)
- LOOPING: Looping statements (for, while, do...while, for...in, for...of)
- Data types: String, Number, Boolean, Null, Undefined, Object, Symbol
- Function
-
Declaring variables (var, let, const)
-
Scope & Scope Type
-
ARRAY: Creating and manipulating arrays
-
ARRAY: Common array methods (push, pop, shift, unshift, map, filter, reduce, etc.)
-
OBJECT: Creating objects
-
OBJECT: Accessing and modifying properties
-
OBJECT: Methods and this keyword
-
Destructuring
-
Spread and rest operators
-
Default parameters
-
Function & Function Type
-
Function declaration and invocation
-
Parameters and return values
-
Arrow functions
-
EVENT: Understanding events (click, load, etc.)
-
Event listeners (addEventListener)
-
DOM: Selecting elements (getElementById, querySelector, etc.)
-
DOM: Changing content and styles (innerHTML, style, etc.)
-
DOM: Creating and removing elements (createElement, appendChild, removeChild)
-
Lexical scoping
-
Closures: how and why they work
-
Use cases for closures
-
Callbacks
-
Promises
-
async/await
-
Error handling in asynchronous code
- Event Loop and Concurrency Model
- Understanding the event loop
- Call stack and task queue
- Microtasks and macrotasks
- MODULE: ES6 modules: import and export
- CommonJS modules
- Module patterns
- Prototypal inheritance
- ES6 classes
- this keyword in different contexts
- Mixins and composition
- Higher-order functions
- Pure functions
- Immutability
- Function composition
- Currying and partial application
- Singleton
- Module
- Factory
- Observer
- Strategy
- Decorator
- try...catch and finally
- Custom error types
- Debugging techniques and tools
- Syntax and flags
- Common patterns and use cases
- Web Storage API (localStorage and sessionStorage)
- Service Workers and Progressive Web Apps (PWAs)