|JS_LEARN_HUB

JS Learning Hub

Curated articles from MDN Web Docs, javascript.info, freeCodeCamp, and The Algorithms. All content is external — click to read on the original source.

JavaScript Guide: Grammar and Typesbeg

Variable declarations, data types, literals, and type coercion basics.

MDN Web DocsREAD →
JavaScript Basicsbeg

High-level introduction to JS syntax, variables, operators and control flow.

MDN Web DocsREAD →
JavaScript Data Typesbeg

Primitives vs objects, typeof, null vs undefined, and type checking techniques.

javascript.infoREAD →
Functionsbeg

Function declarations, expressions, arrow functions, default params, and closures.

javascript.infoREAD →
Scope and the Variable Lifecycleint

How var, let, and const behave with hoisting, temporal dead zone, and block scope.

javascript.infoREAD →
Closuresint

How inner functions retain access to outer scope, and practical closure patterns.

MDN Web DocsREAD →
Prototype Chainadv

JavaScript inheritance model: prototypes, Object.create(), and the prototype chain.

MDN Web DocsREAD →
this — The Binding Rulesint

Implicit, explicit, new, and arrow function binding — with tricky edge cases.

javascript.infoREAD →
Array Methodsbeg

map, filter, reduce, find, some, every, flat, flatMap — with examples for each.

MDN Web DocsREAD →
Array Methods Practicebeg

Practical exercises to master forEach, map, filter, and reduce.

javascript.infoREAD →
Object Destructuring & Spreadint

Destructuring assignment, rest/spread operators, and computed property names.

javascript.infoREAD →
Map and Setint

When to use Map vs plain objects, and Set for unique value collections.

javascript.infoREAD →
JSONbeg

JSON.stringify(), JSON.parse(), replacers, revivers, and common pitfalls.

MDN Web DocsREAD →
Callbacks, Promises, and Async/Awaitint

The full async evolution — from callback hell to clean async/await syntax.

javascript.infoREAD →
Promise APIint

Promise.all, Promise.race, Promise.allSettled, and Promise.any explained.

javascript.infoREAD →
Async/Awaitint

Writing asynchronous code that reads like synchronous — patterns and error handling.

MDN Web DocsREAD →
The Event Loopadv

Call stack, microtask queue, macrotask queue, and execution order demystified.

javascript.infoREAD →
Generators and Iteratorsadv

function*, yield, Symbol.iterator, and lazy infinite sequences.

MDN Web DocsREAD →
Introduction to the DOMbeg

Document structure, node types, traversal, and manipulation methods.

MDN Web DocsREAD →
Event Handlingbeg

addEventListener, event bubbling/capturing, delegation, and stopPropagation.

javascript.infoREAD →
Fetch APIint

Making HTTP requests, handling responses, and working with JSON from APIs.

MDN Web DocsREAD →
localStorage and sessionStoragebeg

Persisting data in the browser, size limits, and serialization tips.

MDN Web DocsREAD →
ES6+ Feature Overviewint

Arrow functions, template literals, default params, rest/spread, and more.

javascript.infoREAD →
ES Modules: import and exportint

Named exports, default exports, dynamic import(), and module resolution.

MDN Web DocsREAD →
Classesint

class syntax, inheritance with extends, static methods, and private fields (#).

javascript.infoREAD →
Optional Chaining & Nullish Coalescingint

Safe property access with ?. and fallback values with ?? — real-world patterns.

javascript.infoREAD →
Proxy and Reflectadv

Intercept and customise object operations for validation, logging, and reactivity.

MDN Web DocsREAD →
WeakMap and WeakRefadv

Memory-friendly structures — when GC-able references make sense.

MDN Web DocsREAD →
Sorting Algorithms in JavaScriptint

Bubble, selection, insertion, merge, and quicksort — with JS implementations.

The Algorithms / JavaScriptREAD →
Big-O Notation for JS Developersint

Time and space complexity with concrete JS examples — know your Array methods.

freeCodeCampREAD →
Binary Searchint

Implement and analyse binary search on sorted arrays — O(log n) explained.

The Algorithms / JavaScriptREAD →
Recursion and the Call Stackint

Writing recursive solutions, stack overflow risks, and tail-call optimisation.

javascript.infoREAD →
Dynamic Programming Patternsadv

Memoisation, tabulation, and classic DP problems solved in JavaScript.

freeCodeCampREAD →
Graph Algorithms (BFS & DFS)adv

Breadth-first and depth-first search with adjacency lists in JS.

The Algorithms / JavaScriptREAD →

All articles link to their original sources. Credit: MDN Web Docs (CC-BY-SA 2.5), javascript.info (CC-BY-NC-SA 4.0), freeCodeCamp, The Algorithms (MIT).