Fix typo in prototypal inheritance (#3930)

Completed missing property name used to set the prototype of an object.
pull/4474/head
Toshita Singh 1 year ago committed by GitHub
parent 8585857cc3
commit bb9cc31e8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/data/roadmaps/javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md

@ -1,6 +1,6 @@
# Prototypal Inheritance # 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: Visit the following resources to learn more:

Loading…
Cancel
Save