Javascript Prototype and Inherance
We know that one way of Javascript supporting inherence is through
prototype/__proto__.
var accord = {make: 'Honda', model: 'accord'}
var civic = {model: 'civic'}
civic.__proto__ = accord
Because civic inherits from accord, civic's make will be:
civic.make
=>'Honda'
Javascript…