jashkenas--coffeescript/test/test_lexical_scope.coffee

10 lines
121 B
CoffeeScript

num: 1 + 2 + (a: 3)
ok num is 6
result: if true
false
other: "result"
ok result is "result" and other is "result"