Booleans and the Stricter === and !== Operators | kirupa.com

by kirupa | 13 April 2014

While it's polite to say that all types are interesting and fun to be around, you and I both know that is a lie. Some types are just boring. The boolean type is one such example. Here is the reason why. Whenever you initialize a variable using either true or false, you create a boolean:


This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/boolean_and_stricter_operators.htm