Can anyone help? what does “&&” mean?
&&
is the symbol used to represent the logical operation, AND.
let a = "A";
let b = "B"
let flag = a === 'A' && b === 'B';
console.log(flag); // <- true
3 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.