mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
This also revealed the bug reported at https://github.com/espruino/Espruino/issues/172 Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
11 lines
310 B
JavaScript
11 lines
310 B
JavaScript
console.log( typeof undefined === "undefined" );
|
|
console.log( typeof null === "object" );
|
|
console.log( typeof true === "boolean" );
|
|
console.log( typeof false === "boolean" );
|
|
console.log( typeof "foo" === "string" );
|
|
console.log( typeof 1 === "number" );
|
|
console.log( typeof function() {} === "function" );
|
|
|
|
|
|
|