JSFiddle - React, Tailwind, and code Playground
JavaScript
function Foo() {
this.DoStuff();
}
Foo.prototype.DoStuff = function() {
alert("I'm frantically doing stuff!");
};
var f = new Foo();
function Foo() {
this.DoStuff();
}
Foo.prototype.DoStuff = function() {
alert("I'm frantically doing stuff!");
};
var f = new Foo();