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