1×
Become a member
to unlock all features
Autoplay

    Understanding the .constructor property on JavaScript Objects

    javascriptJavaScript

    Constructor functions hold an interesting purpose in JavaScript. Unlike in classical languages, they do not always mean created by. In this lesson we’ll use the new keyword to make a constructor call and work with the .constructor property.