From bb9cc31e8abfee1a9cc36bb81f3ce433c43484a9 Mon Sep 17 00:00:00 2001 From: Toshita Singh <40301340+ToshitaSingh@users.noreply.github.com> Date: Tue, 12 Sep 2023 21:14:01 +0530 Subject: [PATCH] Fix typo in prototypal inheritance (#3930) Completed missing property name used to set the prototype of an object. --- .../101-object/101-prototypal-inheritance.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/roadmaps/javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md b/src/data/roadmaps/javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md index df359a326..a45c1f98a 100644 --- a/src/data/roadmaps/javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md +++ b/src/data/roadmaps/javascript/content/102-javascript-datatypes/101-object/101-prototypal-inheritance.md @@ -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: