Created
December 21, 2011 07:13
-
-
Save keyle/1505034 to your computer and use it in GitHub Desktop.
bullet 1
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
// declaring a function | |
// has a conditional in the return value | |
(flip val) = !val if (val == false) || null | |
// declaring a variable or function with no arguments | |
(b) = false | |
b = flip(b) | |
// b is now true | |
/****/ | |
new val = !val if (val == false) || null | |
// declaring a variable or function with no arguments | |
new b = false | |
b = flip(b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment