blob: e1496b96142c98b4f193ec6e02a40fc93c79af1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
test();
function test()
{
try {
instances = []
for (var i = 0; i != 2; ++i)
instances[i]=constructor
var i = 0;
var instance = instances[i];
var name = instance.name;
for (var j = 1; j != instances; ++j)
if (i != j && instance instanceof name[j].constructor) {}
} catch(ex) {}
}
test();
|