Prerequisites

If you are not very comfortable with JavaScript objects, you can go through its first part JavaScript Object in Depth, Part 1: The Fundamentals.

Introduction

Inheritance is a key feature of Object-Oriented Programming. Like any other Object-Oriented Programming language, JavaScript also supports inheritance. JavaScript objects have a special hidden property [[ Prototype ]] that is either null or references another object, called “a prototype.

Prerequisites
If you are not very comfortable with JavaScript objects, you can go through its first part JavaScript Object in Depth, Part 1: The Fundamentals.
Introduction
Inheritance is a key feature of Object-Oriented Programming. Like any other Object-Oriented Programming language, JavaScript also supports inheritance. JavaScript objects have a special hidden property [[ Prototype ]] that is either null or references another object, called “a prototype.” […]