What You'll Learn in JavaScript
Beginner
Introduction
Learn what JavaScript is and where it's used.
Setup
Set up your development environment and run your first script.
Variables
Understand var, let, and const.
Comments
Write single-line and multi-line comments.
Data Types
Learn primitive and reference data types.
Type Conversion
Implicit and explicit type conversion.
Operators
Arithmetic, comparison, logical, and assignment operators.
Conditionals
if, else, and switch statements.
Loops
for, while, do...while, and for...of loops.
Arrays
Create and work with JavaScript arrays.
Functions
Function declarations, expressions, and arrow functions.
Objects
Create and manipulate JavaScript objects.
Scope
Global, function, and block scope.
Hoisting
How variable and function declarations are hoisted.
Strings
Common string properties and methods.
Array Destructuring
Unpack array values into distinct variables.
Object Destructuring
Unpack object properties into distinct variables.
Spread Operator
Copy and merge arrays and objects with ...
Rest Parameters
Collect remaining function arguments into an array.
Template Literals
String interpolation with backticks and ${}.
JSON
Convert between JavaScript objects and JSON.
Optional Chaining & Nullish Coalescing
Safely access nested properties with ?. and ??.
Intermediate
Array Methods
An overview of the array methods you'll use daily.
Adding & Removing
push, pop, shift, unshift, and splice.
Searching
indexOf, includes, find, and findIndex.
Iteration
forEach, map, filter, and reduce.
Transformation
sort, reverse, flat, and flatMap.
Static Methods
Array.isArray(), Array.from(), and Array.of().
Closures
Understand lexical scope and closures.
this Keyword
Master how `this` is determined at call time.
Classes
Class syntax, constructors, and instance methods.
Class Inheritance
Extend classes with extends and super.
Error Handling
Handle runtime errors with try, catch, and finally.
Modules
Import and export code between files.
Map & Set
Key-value pairs and unique value collections.
Date & Time
Create, format, and compare JavaScript dates.
DOM
Select, read, and modify HTML with JavaScript.
Events
Listen for and respond to user interactions.
Fetch API
Fetch data from APIs with the Fetch API.
Advanced
Static, Private & Getters/Setters
Static members, private fields, and getters/setters.
Promises
Handle asynchronous operations with Promises.
Async / Await
Write asynchronous code that reads like synchronous code.
Regular Expressions
Match and manipulate strings with patterns.
Generators & Iterators
Pause and resume functions with function* and yield.
Event Delegation
Handle events efficiently using a single listener.
Prototype
Learn JavaScript's prototype-based inheritance.
Event Loop
Understand JavaScript's concurrency model.
Memory Management
Garbage collection and common memory leaks.
Finished Learning JavaScript?
Test your knowledge with MCQs, output-based questions, and interview questions.