Skip to content

Instantly share code, notes, and snippets.

@ScottAwesome
ScottAwesome / simple.js
Created June 11, 2020 22:08
Demonstrating Old Style JS Inheritance Non Obviousness
// I know its contrived, but you get the gist :)
'use strict';
function BasePrototype() {
this.mary = 'Mary';
this.lamb = true;
this.little = false;
}