The Boolean Type : Introdunction : Number Data Type JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Number Data Type » Introdunction »

 

The Boolean Type









The Boolean type has two values, true and false.

True and false are also the two Boolean literals.

Even though false isn't equal to 0, 0 is converted to false when necessary.








var bFound = true;
var bLost = false;







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Number Data Type
» Introdunction