summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/inline/scripted-11.js
blob: 750add3980e22f51ee9f43c9224226dce057d787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
what = 0;

function f(x) {
  g(x);
}

function g(x) {
  eval("what = true");
}

f(10);
assertEq(what, true);