js/src/jit-test/tests/basic/testClosedVarInExtensibleScope.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:2bf5a3434e74
1 function runTest() {
2 if (Math) {
3 function createTester(options) {
4 return function() {
5 return options.blah;
6 };
7 }
8
9 return createTester({blah:"bar"});
10 }
11 }
12
13 assertEq(runTest()(), "bar");

mercurial