summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/bug658777.js
blob: 7f6ec16e15f541f1869f621152441b4e580e654a (plain)
1
2
3
4
5
6
7
8
9
10
11
function Employee(name, dept) { return this.name = name || ""; }
function WorkerBee(name, dept, projs) {
    this.base = Employee
    this.base(name, dept)
}
function Engineer(name, projs, machine) {
    this.base = WorkerBee
    this.base(name, "engineering", projs)
    __proto__["a" + constructor] = 1
}
new Engineer;