Created
October 7, 2018 16:58
-
-
Save yunustek/184ad90340ebf69eb38b3a50fc5dd25b to your computer and use it in GitHub Desktop.
Boolean Toggling
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
var bools = [true, false] | |
bools[0].toggle() | |
//bools == [false, false] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment