diff --git a/content/roadmaps/106-javascript/content/116-javascript-memory-management/100-memory-lifecycle.md b/content/roadmaps/106-javascript/content/116-javascript-memory-management/100-memory-lifecycle.md index 2cdc5d3c1..ba47a6c19 100644 --- a/content/roadmaps/106-javascript/content/116-javascript-memory-management/100-memory-lifecycle.md +++ b/content/roadmaps/106-javascript/content/116-javascript-memory-management/100-memory-lifecycle.md @@ -1 +1,9 @@ -# Memory lifecycle \ No newline at end of file +# Memory lifecycle + +Regardless of the programming language, the memory life cycle is pretty much always the same: + + - Allocate the memory you need + - Use the allocated memory (read, write) + - Release the allocated memory when it is not needed anymore + +The second part is explicit in all languages. The first and last parts are explicit in low-level languages but are mostly implicit in high-level languages like JavaScript.