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>pull/1787/head
parent
8006ba4546
commit
370de8163c
1 changed files with 6 additions and 1 deletions
@ -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> |
||||||
|
Loading…
Reference in new issue