Re:How I made a game played in Notepad
by Kagerjay on Thursday May 28, 2020 @11:59AM
(#23338804)
Javascript sort of does
Stack - the event loop uses this for handling callback executions
Heap - memory addresses for objects. For instance if you copy over an array of objects, you are copying the pointers to those memory addresses inside the array.
Also memory leaks to some extent with eventListeners especially when you use a framework like React
Stack - the event loop uses this for handling callback executions
Heap - memory addresses for objects. For instance if you copy over an array of objects, you are copying the pointers to those memory addresses inside the array. Also memory leaks to some extent with eventListeners especially when you use a framework like React