JSFiddle - React, Tailwind, and code Playground

by dshilkret

JavaScript

var strValue = "";

if (strValue == "") {
    alert("empty string");
}