Debian Codegraph @

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

raw
1 // |jit-test| error: baz is null; skip-if: getBuildConfiguration('pbl')
2 //
3 // (skip if PBL enabled: it doesn't support the decompiler so doesn't give the
4 // specific error message)
5
6 var document = {getElementById: () => null};
7
8 (function() {
9 const one = 1;
10
11 function foo() { return one; }
12 function bar() { return foo(); }
13
14 var baz = document.getElementById("baz");
15 baz.value;
16 })();