Booleans: true and false



examples/js/boolean.js
"use strict";

console.log(true);    // true
console.log(false);   // false
console.log(2 > 1);   // true
console.log(2 < 1);   // false


var x = 42;
if (x) {
    console.log("42 is true"); // 42 is true
}