Horje
5.1.1. Boolean Values¶ Code Example
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
5.1.1. Boolean Values¶
/*The values true and false are not strings. If you use quotes to 
surround booleans ("true" and "false"), those values become strings.*/

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

//boolean
//string




Javascript

Related
jquey datatables Code Example jquey datatables Code Example
asasa Code Example asasa Code Example
sanity react Code Example sanity react Code Example
Laravel bootstrap 5 install popper.js error Code Example Laravel bootstrap 5 install popper.js error Code Example
random order of buttons on refresh in vanilla js Code Example random order of buttons on refresh in vanilla js Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8