blob: 60d963a8bcacda66fad1c01ed05c212cf4be192c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// |jit-test| error: TypeError
var g = newGlobal();
g.parent = this;
g.eval("(" + function() {
var dbg = new Debugger(parent);
dbg.onExceptionUnwind = function(frame) {
frame.older.onStep = function() {}
};
} + ")()");
function f() {
(function inner(arr) {
inner(arr.map);
})([]);
}
f();
|