JSFiddle - React, Tailwind, and code Playground

by neerajdotname

JavaScript

$.doit = function() {
    var dfd = $.Deferred();

    dfd.resolve();

    return dfd;
}

$.doit().done(function() {
    $('body').append('<p>Hello World</p>');
});