Skip to content

Instantly share code, notes, and snippets.

View stevebrowndotco's full-sized avatar

Steve Brown stevebrowndotco

View GitHub Profile
@stevebrowndotco
stevebrowndotco / gist:05b99d7728271112e994
Created February 12, 2015 14:20
Simple Javascript Inheritance
function Utility(){};
var utility = new Utility();
Utility.prototype.extend = function () {
function F() {}
F.prototype = this;
return new F();
};