{"json_modified": "2016-09-22T11:48:48.599931", "uuid": "f3266180-2bec-4d81-9cc3-cd2f4e138aed", "title": "Inheritance in JavaScript", "url": "/en-US/docs/Learn/JavaScript/Objects/Inheritance", "tags": ["Beginner", "OOP", "Inheritance", "OOJS", "Object", "Article", "CodingScripting", "Prototype", "beginner", "JavaScript", "Learn"], "translations": [], "modified": "2016-09-22T11:48:48", "label": "Inheritance in JavaScript", "localization_tags": [], "locale": "en-US", "id": 194927, "last_edit": "2016-09-22T11:48:45", "summary": "This article has covered the remainder of the core OOJS theory and syntax that we think you should know now. At this point you should understand JavaScript object and OOP basics, prototypes and prototypal inheritance, how to create classes (constructors) and object instances, add features to classes, and create subclasses that inherit from other classes.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Prototypal_inheritance", "title": "Prototypal inheritance"}, {"id": "Getting_started", "title": "Getting started"}, {"id": "Defining_a_Teacher()_constructor_function", "title": "Defining a Teacher() constructor function"}, {"id": "Setting_Teacher()'s_prototype_and_constructor_reference", "title": "Setting Teacher()'s prototype and constructor reference"}, {"id": "Giving_Teacher()_a_new_greeting()_function", "title": "Giving Teacher() a new greeting() function"}, {"id": "Trying_the_example_out", "title": "Trying the example out"}, {"id": "A_further_exercise", "title": "A further exercise"}, {"id": "Object_member_summary", "title": "Object member summary"}, {"id": "When_would_you_use_inheritance_in_JavaScript", "title": "When would you use inheritance in JavaScript?"}, {"id": "Summary", "title": "Summary"}, {"id": "See_also", "title": "See also"}], "slug": "Learn/JavaScript/Objects/Inheritance", "review_tags": []}