February 2006
Intermediate to advanced
826 pages
63h 42m
English
Booleans are true/false values. They can be represented by the keywords true or false (without quotes around them) or the numbers 1 and 0, respectively:
var bald = false; // I am not bald (yet -- fingers crossed)
var bearded = 1; // I do have a beard