logical table

Run Settings
LanguageJavaScript
Language Version
Run Command
x = false || undefined || null || 0 || NaN || "x"; //last one value console.log(x); console.log("_____________________") x = false || 1 || undefined || null || 0 || NaN || "x"; //the value 1 = true value, so [OR] will stop calculation console.log(x); console.log("_____________________"); y = [] && {} && 1 && true && "hello"; console.log(y); console.log("_____________________"); y = [] && 0 && {} && 1 && true && "hello"; //[AND] will stop calculaton for false value console.log(y); console.log("_____________________"); default_city ="kw"; city = ""; city = city || console.log("please input city") || default_city; //console.log's result is undefined console.log(city); console.log("_____________________");
Editor Settings
Theme
Key bindings
Full width
Lines