A little JS question

I forgot what && means. Could you please tell me in terms I can understand? :grimacing:Thank you.

&& is a logical and, such as

let myNum = 5;

if ((myNum > 2) && (myNum < 4)) {
  console.log("myNum is 3");
}
1 Like

Thank you very much! I see now.

1 Like