JavaScript
Learn JavaScript from variables to the event loop, with the closures, `this`, async and prototype questions interviewers ask.
Introduction to JavaScript & Setup
Understand what JavaScript is, where it runs, and set up your development environment using browser developer tools.
Variables and Data Types
Learn about `var`, `let`, `const` and JavaScript's primitive data types including numbers, strings, booleans, null, and undefined.
Operators and Expressions
Explore arithmetic, assignment, comparison, logical, and ternary operators to perform operations and build expressions.
Control Flow: Conditionals
Master `if/else`, `else if`, and `switch` statements to control the execution flow of your programs based on conditions.
Control Flow: Loops
Learn to use `for`, `while`, `do/while`, `for...of`, and `for...in` loops to iterate over data and repeat actions.
Functions: Basics
Understand how to declare, call, and pass arguments to functions, along with returning values and function expressions.
Arrays and Objects
Dive into fundamental data structures: creating and manipulating arrays and objects, including common methods.
Higher-Order Functions & Callbacks
Explore functions that operate on other functions, focusing on `map`, `filter`, `reduce`, and the concept of callbacks.
Scope and Closures
Deepen your understanding of variable scope (global, function, block) and the powerful concept of closures.
`this` Keyword and Context
Demystify the `this` keyword and how its value changes based on the execution context in different scenarios.
Asynchronous JavaScript: Callbacks & Promises
Introduce asynchronous operations, the event loop (briefly), and handle async code using callbacks and basic Promises.
ES6+ Features (Part 1)
Cover modern JavaScript syntax including arrow functions, template literals, destructuring, and spread/rest operators.
ES6+ Features (Part 2)
Continue with ES6+ features like JavaScript modules (import/export), default parameters, and the class syntax.
Error Handling & Debugging
Learn to gracefully handle errors using `try...catch` and `throw`, and effectively debug your code with browser tools.
Asynchronous JavaScript: Async/Await
Master modern asynchronous patterns with `async` functions and the `await` keyword for cleaner, more readable code.
Prototypal Inheritance & `new` Keyword
Understand JavaScript's unique prototypal inheritance model, the prototype chain, and how the `new` keyword works.
Event Loop, Microtasks & Macrotasks
Deep dive into the JavaScript event loop, understanding the call stack, event queue, microtask queue, and macrotask queue.
Working with the DOM
Learn to select, manipulate, and respond to events on HTML elements using the Document Object Model (DOM).
Advanced Array Methods & Data Structures
Explore advanced `reduce` patterns, and dive into `Set`, `Map`, `WeakMap`, and `WeakSet` for efficient data handling.
Frontend Interview Prep & Best Practices
Review common JavaScript interview questions, discuss performance optimization, clean code, and design patterns for robust applications.