Additions in Constructor Functions
This lesson teaches us how to add new properties to constructor functions.
We'll cover the following
Adding New Properties
In this lesson, we will see how new properties can be added to constructor functions. The method to do so is different from that of object literals.
For object literals, the following approach is used to add properties:
Get hands-on with 1400+ tech skills courses.