01Chapter 1: How JavaScript Allocates and Releases MemoryThis chapter assumes you know JavaScript variables, objects, arrays, and functions, and that you can run code in a browser console or Node.js. It also assumes a basic grasp of scope.2 min read
02Chapter 2: How Closures Keep Data AliveThis chapter assumes you know how closures and scope work, and that you have used timers and event listeners. It also builds on the earlier chapters: an object stays in memory as long as some path from a root can reach it.1 min read