mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-01-17 06:08:36 +01:00
Fix typo in prototypal inheritance (#3930)
Completed missing property name used to set the prototype of an object.
This commit is contained in:
parent
8585857cc3
commit
bb9cc31e8a
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user