← Back to Question List
JavaScript Code Walkthrough #35
Logical Operators Return Values
📄 Code
Read carefully — what does this print?1let a = 0;2let b = "hello";3let c = null;4console.log(a || b);5console.log(b && "world");6console.log(c || a || "default");7console.log(b && c);