Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 3 Lesson 6 of Javascript Course

This lesson's exercise can be solved in many ways. There should be proper instructions for this or multiple solutions should be supported.

What do you think?
by

1 Answer

kshitijrana14
Try this one

let x = true;
let y = false;

// apply AND operator
console.log(x && !y);

// apply OR operator
console.log(!x||y);

Login / Signup to Answer the Question.