JSFiddle - React, Tailwind, and code Playground

by Regisc

JavaScript

function foo(bar, lol) {
    if (lol == null) {
        lol = "";
    }
    alert(bar + " " + lol);
}

foo("bar", "lol");
foo("bar");