mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
docs for assignment-as-expression
This commit is contained in:
parent
adaae0ccae
commit
834442148b
21 changed files with 190 additions and 128 deletions
|
@ -1,5 +1,5 @@
|
|||
(function(){
|
||||
var mood;
|
||||
var date, mood;
|
||||
if (singing) {
|
||||
mood = greatly_improved;
|
||||
}
|
||||
|
@ -7,6 +7,6 @@
|
|||
claps_hands();
|
||||
cha_cha_cha();
|
||||
}
|
||||
var date = friday ? sue : jill;
|
||||
date = friday ? sue : jill;
|
||||
expensive = expensive || do_the_math();
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue