Which of the following best describes JavaScript's memory management approach?
JavaScript employs automatic memory management with garbage collection: 1) Memory is automatically allocated when objects are created, 2) The garbage collector automatically reclaims memory that's no longer needed, 3) Developers don't need to explicitly free memory as in languages like C/C++, 4) The garbage collection process runs periodically in the background, 5) Different JavaScript engines implement various garbage collection algorithms to optimize performance, 6) Automatic memory management reduces common errors like memory leaks and dangling pointers, 7) This approach allows developers to focus on application logic rather than memory management details, 8) However, understanding the underlying principles is still important for optimizing application performance.