Lesson

Returning Boolean Values from Functions, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn about a common anti-pattern used by beginners a lot to check if a comparison is true or false. Since a comparison in javascript will automatically return either true or false, we need not create an if else statement to check it.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: