create logical AND condition

PHOTO EMBED

Wed Apr 05 2023 16:09:12 GMT+0000 (Coordinated Universal Time)

Saved by @azcraze #javascript #and #logical #check

const isLearning = true;
const isOverwhelmed = true;

if (isLearning && isOverwhelmed) {
  console.log("Take a break");
}
content_copyCOPY

https://codetogo.io/how-to-create-logical-and-condition-in-javascript/