Number Data Type JavaScript Tutorial

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;