JSFiddle - React, Tailwind, and code Playground
JavaScript
LI = {};
var el = 'test';
LI.ProspectStatus = (function (el) {
function test() {
return el;
}
function blah1() {
alert('hey from blah 1');
}
function blah2() {
alert('hey from blah 2');
}
return {
blah1 : blah1,
blah2: blah2,
test: test
}
})(el);
LI.ProspectStatus.blah1();
LI.ProspectStatus.blah2();
console.log(LI.ProspectStatus.test());