mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-09-24 15:00:31 +08:00
Add memory management content (#1750)
* Update readme.md * Update content/roadmaps/106-javascript/content/116-javascript-memory-management/readme.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
co-authored by
Kamran Ahmed
parent
8006ba4546
commit
370de8163c
@@ -1 +1,6 @@
|
||||
# Javascript memory management
|
||||
# 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.
|
||||
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://javascript.info/garbage-collection'>JavaScript Garbage Collection</BadgeLink>
|
||||
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management'>Memory Management in JavaScript</BadgeLink>
|
||||
|
||||
Reference in New Issue
Block a user