Prototype and Inheritance in JS (non-class)

https://www.digitalocean.com/community/tutorials/understanding-prototypes-and-inheritance-in-javascript Creating objects through Constructor Functions Because each character will share many characteristics, such as having a name, and a level, we use a constructor functions to create templates for those common traits of each hero. Every hero has a name, and a certain level of experience [crayon-5bf5bb1947a9a832228049/] We have created a constructor function called … Continue reading Prototype and Inheritance in JS (non-class)