node/test/fixtures/global/sub2.js

19 lines
293 B
JavaScript
Raw Normal View History

2010-08-18 23:47:36 +08:00
foo2 = "foo2";
global.bar2 = "bar2";
exports.globalKeys = function () {
return Object.getOwnPropertyNames(global);
};
exports.allFooBars = function () {
return {
foo0: global.foo0,
bar0: bar0,
foo1: global.foo1,
bar1: bar1,
foo2: global.foo2,
bar2: bar2
};
};