summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-findScripts-12-script2
blob: 3350c8ed294a483ed210db52c42310e04ccdf459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- mode: js2 -*-
// Script for Debugger-findScripts-12.js to load.
// Line numbers in this script are cited in the test, and must align with ...-script1.

function h() {
                                                        // line 6
    function hh() {
        return "on investment";                         // line 8
    };
    hh.global = this;
    return hh;
};

function i() {
    return "to innocence";                              // line 15
}

h.global = this;
i.global = this;