DEV Community

Kiran💙🖤
Kiran💙🖤

Posted on

2

Day 4

I reached the 5th section of the JS online course . The section is called Advance JS.

TIL

*Objects in Java script
*OOP
*constructors and instances
*Inheritance in general
*Inheritance in JS - Prototypes and prototype chain

I had to re-watch the same explanation several times to grasp the idea of prototype property.
Alt text of image

It was made much clearer when the instructor explained it again by teaching us how to create a function constructer.

The explanation made it clear that if we didn’t have the prototype property , we would have the inherited function of a constructor in every instances created using the constructor. However , using the prototype property we can use the function without having duplication of functions.
( This is what I understood , Please correct me if I’m wrong)

It was also explained how the new operator works.

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more