Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Advanced JavaScript: Senior Mastery
·
Module 1
JavaScript Engine & Runtime Internals
V8 Engine: From Source to Execution
Trace the V8 engine pipeline from source code to execution: parsing to AST, Ignition bytecode generation, and TurboFan JIT optimization.
2
Call Stack and Heap: Memory Management in JavaScript
Describe the call stack and heap memory model and how primitives and reference types are stored and accessed during execution.
3
V8 Hidden Classes: Optimizing Object Shapes
Explain how hidden classes (object shapes) work in V8 and identify code patterns that cause hidden class transitions and deoptimization.
4
Inline Caches: Optimizing Property Access
Explain how inline caches optimize property access and what coding patterns invalidate them.
5
V8 Garbage Collection Explained
Explain V8's garbage collection strategy: mark-and-sweep, Scavenger (young generation), and Mark-Compact (old generation).
6
Spotting JavaScript Memory Leaks
Identify common memory leak patterns in production JavaScript: closures holding DOM references, unremoved event listeners, detached DOM nodes, and forgotten timers.
7
Memory Leak Debugging with Chrome DevTools
Debug a memory leak using Chrome DevTools heap snapshots and allocation timelines.
8
JavaScript in the Browser: Runtime vs. Environment
Distinguish between the JavaScript runtime (engine + event loop) and the browser environment (Web APIs, rendering pipeline).
Previous module
Next module
Execution Context, Scope & the Closure Deep Dive