Files

8 lines
675 B
Markdown
Raw Permalink Normal View History

2023-01-02 04:47:46 +04:00
# Memory Management
2024-04-29 17:40:10 +07:00
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.
2023-01-02 04:47:46 +04:00
Visit the following resources to learn more:
2024-06-06 23:23:55 +01:00
- [@article@JavaScript Garbage Collection](https://javascript.info/garbage-collection)
2026-06-12 11:06:50 +02:00
- [@article@Memory Management in JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Memory_Management)