JSFiddle - React, Tailwind, and code Playground

JavaScript

var supportcall = {
    log: function(msg){
        document.body.innerHTML += (msg + "<br />");
    }
}

var albi = function(){
    var project = "nope";
    var finished = "yep";
    
    setInterval(function(){
        if(project != finished){
            supportcall.log("albi asks: is it finished yet?");
        }
    }, 1000);
}

alby();