How to create logical AND condition in JavaScript

Syntax
Last updated Jan 02, 2018
const isLearning = true;
const isOverwhelmed = true;

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