JSFiddle - React, Tailwind, and code Playground

by Chase Wilson

JavaScript

myFunction.preDefinedProperty = "I was defined before my function. All logic has just been moated.";

function myFunction(){
    return true;
}

myFunction.postDefinedProperty = "I was defined AFTER my function. Im a late bloomer.";

var text = [];
text.push(myFunction.preDefinedProperty);
text.push(myFunction.postDefinedProperty);

window.addEvent('domready', function(){
    var body = $$('body')[0];
    body.set('html', text.join('<hr />'));
});