What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-11-21 01:53:25
JS function typeof
console.log(typeof 93); // Output = "number" console.log(typeof 'Maximum'); // Output = 'string' console.log(typeof false); // Output = "boolean" console.log(typeof anUndeclaredVariable); // Output = "undefined" Add solution -
Javascript 2021-09-14 00:24:02
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 Add solution
Best helpers
Noname
+5
Davidw20
+5
Herman Deep
+5
Ornello
+5
Fogwright
+5
Rob Deary
+5
Jonny Five
+5
Vaishnavi
+5
Dan Nestor
+5