-
-
Save btg5679/61eb19e762ab05cc2be26339c8cff8a2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log( typeof( undefined ) ); // 'undefined' | |
console.log( typeof( null ) ); // 'object' | |
//Declared but unsassigned variable | |
let a; | |
console.log( typeof( a ) ); // 'undefined' | |
let b; | |
console.log( typeof( b ) ); // 'undefined' | |
b = null; | |
console.log( typeof( b ) ); // 'object' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Give it extension
.js
to see coloured texts as perJavaScript