From 5ac971878f947f6df0b40cc3ff88b274e5140e02 Mon Sep 17 00:00:00 2001 From: CodeGuage <99533223+codeguage-code@users.noreply.github.com> Date: Sun, 4 Sep 2022 19:00:23 +0500 Subject: [PATCH] Added descriptions and resources to Prototypes - JavaScript Roadmap (#1686) * Added descriptions and resources * Update content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/100-prototype.md Co-authored-by: Kamran Ahmed --- .../102-javascript-datatypes/101-object/100-prototype.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/100-prototype.md b/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/100-prototype.md index 140ce777b..20bdf20c0 100644 --- a/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/100-prototype.md +++ b/content/roadmaps/106-javascript/content/102-javascript-datatypes/101-object/100-prototype.md @@ -1 +1,8 @@ -# Prototype \ No newline at end of file +# Prototypes + +JavaScript is an object-oriented language built around a prototype model. In JavaScript, every object inherits properties from its prototype, if there is any. A prototype is simply an object from which another object inherits properties. To create complex programs using JavaScript, one has to be proficient in working with prototypes — they form the very core of OOP in the language. + +Free Content +Prototypes in JavaScript - A Comprehensive Guide +Prototypes, Inheritance +Object prototypes - MDN