1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/documentation/js/conditionals.js
2009-12-21 11:41:45 -05:00

12 lines
No EOL
225 B
JavaScript

(function(){
var mood;
if (singing) {
mood = greatly_improved;
}
if (happy && knows_it) {
claps_hands();
cha_cha_cha();
}
var date = friday ? sue : jill;
expensive = expensive || do_the_math();
})();