April 2018
Beginner
536 pages
13h 21m
English
The stack contains sequential steps (frames). A stack is a data structure that represents a simple last-in-first-out (LIFO) collection of objects. Therefore, when a frame is added to the stack, it is always added to the top of the stack.
Since the stack is a LIFO collection, the event loop processes the frames stored in it from top to bottom. The dependencies of a frame are added to the top of it in the stack to ensure that all the dependencies of each of the frames are met.