summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug794947.js
blob: e8a2829da27766ed19b42c63a41cf1e6a2cb9f9d (plain)
1
2
3
4
5
6
7
8
9
10
function f(o)
{
    print(o instanceof String);
}

var g = newGlobal();
f(new Object());
var o1 = g.eval('new Object()');
var o2 = Object.create(o1);
f(o2);