Summary
In this chapter, we started by looking at the ways we can construct and manipulate arrays and objects in JavaScript. Then, we looked at ways we can concatenate arrays and objects using spread operators. Using spread operators saves us from having to write functions without a loop. Later, we looked at ways we can do OOP in JavaScript. By using these classes and class inheritance, we can build complex applications without having to write a lot of duplicate code. We also looked at built-in methods for Array, Map, Set, Regex, Date, and Math. These are very helpful when we need to deal with a large number of different types of data. Lastly, Symbols, Iterators, Generators, and Proxies opened up a huge range of possibilities when it comes to making our program dynamic and clean. This concludes our chapter on advanced JavaScript. In the next chapter, we will talk about asynchronous programming in JavaScript.