#inheritance
Read more stories on Hashnode
Articles with this tag
Prerequisite - understanding of proto Simple Example The Object.create() method creates a new object, using an existing object as the prototype of...
prototype and constructor Every function has a prototype field which is an object and has a field called constructor which points to the main...