summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-findScripts-14.script1
blob: 00da459fc14c2e98677a9f48316d9cc4d3612014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// -*- mode:js2 -*-

function f() {
    var x = 1;                          // line 4
    return function g() {
        var y = 2;                      // line 6
        return function h() {
            var z = 3;                  // line 8
            return x+y+z;
        };
    };
}