A bit about Javascript's prototype chain
Javascript objects have an internal property called prototype, which is simply a reference to another object and that object also has prototype property which may point to null or another object. This is called Prototype chain in javascript.
var myO...