1
0
Fork 0
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:
Jeremy Ashkenas 2009-12-25 23:17:34 -08:00
parent adaae0ccae
commit 834442148b
21 changed files with 190 additions and 128 deletions

View file

@ -1,9 +1,11 @@
(function(){
var num = 1;
var change_numbers = function() {
var change_numbers, new_num, num;
num = 1;
change_numbers = function() {
var new_num;
num = 2;
var new_num = 3;
new_num = 3;
return new_num;
};
var new_num = change_numbers();
new_num = change_numbers();
})();