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/scope.js
2010-07-29 00:51:35 -04:00

8 lines
No EOL
150 B
JavaScript

var changeNumbers, inner, outer;
outer = 1;
changeNumbers = function() {
var inner;
inner = -1;
return (outer = 10);
};
inner = changeNumbers();