JSFiddle - React, Tailwind, and code Playground

JavaScript

function check_if_tag_used()
{
    var found = false;
    
    return found;
    
}



var used = check_if_tag_used();
console.debug(used);

if (used);
{
    alert("This should not appear!");    
}