let str = ""; if (Boolean(str)) console.log("This is not an empty string!"); else console.log("This is an empty string!");