Created
January 23, 2018 20:46
-
-
Save vmussak/4a407382885f0130ffb07c24f0e31ba8 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
let a = new Boolean([].length); | |
let b = new Boolean(0); | |
let c = new Boolean(false); | |
let d = new Boolean(null); | |
let e = new Boolean(undefined); | |
let f = new Boolean(NaN); | |
console.log(a, b, c, d, e, f); | |
//[Boolean: false] [Boolean: false] [Boolean: false] [Boolean: false] [Boolean: false] [Boolean: false] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment