In this chapter, we have learned some fundamental aspects of the TypeScript and JavaScript runtime. We have learned that a potential differences lies in the execution environments of web browsers and platforms such as Node.js. We have also learned the functions are processed and executed by the event loop and how the value of the this operator can change in different contexts.
In the next chapter, we will learn more about the runtime, and we will explore closures and prototypes. We will then be fully ready to delve into the implementation of a wide variety of functional programming techniques.