by Pawan Kumar @jsartisan
What will the following code snippet log to the console?
let a = 1;
let b = "";
let c = 0;
console.log(a && b && c);
console.log(a || b || c);
by Pawan Kumar @jsartisan
What will the following code snippet log to the console?
let a = 1;
let b = "";
let c = 0;
console.log(a && b && c);
console.log(a || b || c);