summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/debug/Debugger-findScripts-12-script1
blob: f9f484e9707e6bc5fa0e7e0b10975d102d53fc0e (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.

function f() {
                                                        // line 6
    function ff() {
        return "my wuv, I want you always beside me";   // line 8
    };
    ff.global = this;
    return ff;
};

function g() {
    return "to Oz";                                     // line 15
}

f.global = this;
g.global = this;