Created
November 18, 2019 12:41
-
-
Save abel-masila/e2d76d8c415b20d3dd3bf54b9c2baf2e to your computer and use it in GitHub Desktop.
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
const x = true; // Associated with true. | |
const a = !x; // The returns the opposite of 'x', false. | |
const b = !a; // The ! takes value 'a' of false and reverses it back to true. | |
!!true // Evaluates to true. | |
!!false // Evaluates to false. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment