Debian Codegraph @

rhino/testsrc/org/mozilla/javascript/tests/commonjs/module/1.0/method/program.js

raw symbols SCIP
1 var test = require('test');
2 var a = require('a');
3 var foo = a.foo;
4 test.assert(a.foo() == a, 'calling a module member');
5 test.assert(foo() == (function (){return this})(), 'members not implicitly bound');
6 a.set(10);
7 test.assert(a.get() == 10, 'get and set')
8 test.print('DONE', 'info');