Arrays Arrays are the main tool in JavaScript. They use contiguous memory. This allows you to access any element by its index instantly. - push: Adds an element to the end. - unshift: Adds an element ...
The browser provides extra help. When you use a timer, JavaScript hands that task to the browser. The browser handles the wait. Once the timer ends, the browser tells JavaScript to run the callback.