Summary
So far in this book, we have covered client-side and server-side JavaScript execution. You learned about the importance of scope in JavaScript, along with the basics necessary for a solid foundation in JavaScript.
In this chapter, we learned about different programming paradigms. We discussed two of the popular approaches used by developers, namely procedural and object-oriented. Then, we explored the uses of prototypes, data scopes, hoisting, and closures.
Now, let's dig deep into the final and most important programming paradigm, which is used by a lot of developers: functional programming. In the next chapter, we will learn a lot about functional programming, including how and when to use it.