Comparison with the Logical And Operator, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn about the Javascript And Operator, this operator checks if 2 conditions are both true, and will return yes if the conditions are met, and false otherwise. This can also been done nesting an if statement inside another, but takes less code so is recommended for clarity.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required