1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-14 05:04:02 +02:00

Fix typo in prototypal inheritance (#3930)

Completed missing property name used to set the prototype of an object.
This commit is contained in:
Toshita Singh
2023-09-12 21:14:01 +05:30
committed by GitHub
parent 8585857cc3
commit bb9cc31e8a

View File

@@ -1,6 +1,6 @@
# Prototypal Inheritance
The Prototypal Inheritance is a feature in javascript used to add methods and properties in objects. It is a method by which an object can inherit the properties and methods of another object. Traditionally, in order to get and set the Prototype of an object, we use Object.getPrototypeOf and Object.
The Prototypal Inheritance is a feature in javascript used to add methods and properties in objects. It is a method by which an object can inherit the properties and methods of another object. Traditionally, in order to get and set the Prototype of an object, we use Object.getPrototypeOf and Object.setPrototypeOf.
Visit the following resources to learn more: