Roadmap to becoming a developer in 2022
 
 
 
 
 
Yash bhanushali e4b0607cae
Update 100-memory-lifecycle.md (#1983)
3 years ago
..
100-memory-lifecycle.md Update 100-memory-lifecycle.md (#1983) 3 years ago
101-garbage-collection.md Update 101-garbage-collection.md (#1751) 3 years ago
readme.md Add memory management content (#1750) 3 years ago

readme.md

Memory Management

Low-level languages like C, have manual memory management primitives such as malloc() and free(). In contrast, JavaScript automatically allocates memory when objects are created and frees it when they are not used anymore (garbage collection). This automaticity is a potential source of confusion: it can give developers the false impression that they don't need to worry about memory management.

JavaScript Garbage Collection Memory Management in JavaScript