+2 votes
in JavaScript by

What is prototypal Inheritance?

1 Answer

0 votes
by

Every object has a property called a prototype, where we can add methods to it and when you create another object from these the newly created object will automatically inherit its parent’s property

Related questions

+1 vote
asked Jul 16, 2019 in JavaScript by Indian
+2 votes
+2 votes
asked Jul 16, 2019 in JavaScript by Indian
...