Debian Codegraph @

js/src/jit-test/tests/basic/evalReturningScope-global.js

raw
1 // Passing global with discardSource shouldn't crash.
2
3 const g = newGlobal({
4 discardSource: true
5 });
6
7 evalReturningScope(`
8 var f = function(){
9 var g = function(){
10 };
11 g();
12 };
13 f();
14 `, g);