JSFiddle - React, Tailwind, and code Playground

by Matt Ball

JavaScript

// open your console

function Namespace() {}
Namespace.prototype.saySomething = function (something)
{
    console.log(something);
}

// Usage:
var foo = new Namespace();
foo.saySomething("Hallllooooo!");