March 2021
Beginner
404 pages
5h 47m
English
We first encountered objects in Chapter 9. In this chapter, we’re going to take a more in-depth look at object-oriented programming and how you can use JavaScript to create classes. We’ll be covering the following topics:
An important concept in JavaScript is that objects are assigned by reference. This means that, if two variables are assigned to the same object, both variables will point to the same object in memory.
For example, imagine you’re creating a weather app and the variable monday is pointing to a sunny image object. If you assign ...
Read now
Unlock full access