JSFiddle - React, Tailwind, and code Playground
by dhoerster
JavaScript
function Foo()
{
var Bar = function()
{
alert('hello');
};
return
{
boo: Bar
};
}
$(function()
{
var f = new Foo();
f.boo();
});