let name = "John";
if (name) {
   alert(name + " is allowed");
}