Created
June 2, 2022 14:55
-
-
Save BennisonDevadoss/c61e1e24c4586571ec8bab70b75cc5e9 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(Boolean(undefined)) // false | |
console.log(Boolean(null)) // false | |
console.log(Boolean(NaN)) // false | |
console.log(Boolean(0)) // false | |
console.log(Boolean("")) // false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
falsy value