Files
meteor/packages/coffeescript/coffeescript_strict_tests.coffee
Andrew Wilcox 6873c91424 Allow CoffeeScript to set global vars when using "use strict".
Ha.  Turns out that `.call(this)` is needed after all when a
CoffeeScript file is using "use strict".
(http://es5.github.io/#x15.3.4.4)

Thanks to pipedreambomb on stackoverflow for the bug report and to
user1737909 for the documentation reference.
2013-04-15 10:52:01 -07:00

4 lines
49 B
CoffeeScript

'use strict'
@__COFFEESCRIPT_TEST_GLOBAL2 = 456