Calling the Constructor with the Apply Function

Learn how to use the Apply function with constructors.

When calling the original constructor, we pass in the first two original arguments:

Get hands-on with 1400+ tech skills courses.