test/script/basic/moduleload.js

changeset 351
a2fa56222fa2
parent 7
5a1b0714df0e
child 952
6d5471a497fb
child 962
ac62e33a99b0
equal deleted inserted replaced
350:3d947baa33cc 351:a2fa56222fa2
23 23
24 /** 24 /**
25 * This loads "module.js" and calls the anonymous top-level function from it. 25 * This loads "module.js" and calls the anonymous top-level function from it.
26 * 26 *
27 * @test 27 * @test
28 * @option --anon-functions
29 * @run 28 * @run
30 */ 29 */
31 30
32 var exports = {}; 31 var exports = {};
33 var f = load(__DIR__ + "module.js"); 32 var f = load(__DIR__ + "module.js");

mercurial