JSFiddle - React, Tailwind, and code Playground

by NerfAnarchist

JavaScript

// methods for passing data to a timed function
$(function () {
    var test = {"text": "this is a piece of text!<br />"};
    setTimeout(function(){$('body').append(test.text);},100);
    
    
    setTimeout($.proxy(function () {
        $('body').append(this.text);
    }, test), 500);
    
    
    test = {"text": "this is a piece of text1!<br />"};
});