I was looking at the event loop in Javascript and it keeps mentioning the word heap. The only source I could find explaining was a small one-line definition on the MDN website:
Objects are allocated in a heap which is just a name to denote a large mostly unstructured region of memory.
Can someone provide a more detailed explanation of what a heap is in the sense of the JavaScript event loop, and its role in JavaScript?