Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Yash bhanushali e4b0607cae
Update 100-memory-lifecycle.md (#1983)
2 years ago
..
100-memory-lifecycle.md Update 100-memory-lifecycle.md (#1983) 2 years ago
101-garbage-collection.md Update 101-garbage-collection.md (#1751) 2 years ago
readme.md Add memory management content (#1750) 2 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