Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

5.1.1. Boolean Values¶

/*There are only two boolean values---true and false. JavaScript is 
case-sensitive, so True and False are not valid boolean values.*/

console.log(true);
console.log(typeof true);
console.log(typeof false);

//true
//boolean
//boolean
Source by education.launchcode.org #
 
PREVIOUS NEXT
Tagged: #Boolean
ADD COMMENT
Topic
Name
8+7 =