Lesson

Comparison with the Inequality Operator, freeCodeCamp Basic Javascript

Lesson Summary

In this challenge we learn about the inequality operator which is basically the opposite of the equality operator. The inequality operator in javascript is denoted with a exclamation point and an equal sign (!=). This checks is values are not equal and if they are not equal it will return true. Usually the inequality operator should be avoided for clarity since you equality operator can be used as well and is less enigmatic.

Subscribe To Monthly Newsletter. Chance to Win Monthly Prizes

* indicates required


Share: