Prototypes objects

suggest change

Introduction

In the conventional JS there are no class instead we have prototypes. Like the class, prototype inherits the properties including the methods and the variables declared in the class. We can create the new instance of the object when ever it is necessary by , Object.create(PrototypeName); (we can give the value for the constructor as well)

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents