Created
November 1, 2012 06:10
-
-
Save Jauny/3992131 to your computer and use it in GitHub Desktop.
coffe vs script
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
mood = greatlyImproved if singing | |
if happy and knowsIt | |
clapsHands() | |
chaChaCha() | |
else | |
showIt() | |
date = if friday then sue else jill | |
# which compiles into javacript | |
var date, mood; | |
if (singing) { | |
mood = greatlyImproved; | |
} | |
if (happy && knowsIt) { | |
clapsHands(); | |
chaChaCha(); | |
} else { | |
showIt(); | |
} | |
date = friday ? sue : jill; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment