Created
July 9, 2017 09:16
-
-
Save juliomatcom/2d2ed290cf67e7d6056fdd4881d789b6 to your computer and use it in GitHub Desktop.
Boolean(val) equals !!val
This file contains hidden or 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
Boolean(myVar) === !!myVar // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment