JSFiddle - React, Tailwind, and code Playground
by dhoerster
JavaScript
function AgileWays() {
this.companyName = "AgileWays";
this.showCompany = function() { alert("We are " + this.companyName + "!"); };
}
var myAgile = new AgileWays();
AgileWays.prototype.showSomethingElse = function() { alert("this is something else"); };
//notice I can call a function after myAgile is constructed
myAgile.showSomethingElse();