Recommend a book with coding symbol meanings


#1

Can anyone help? what does “&&” mean?


#2

&& 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

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.