1 var f = Symbol("Cocoa");
5 A.prototype = {[f]:42};
13 C.prototype = new B();
17 D.prototype = new C();
21 E.prototype = new D();
25 F.prototype = new E();
29 G.prototype = new F();
34 for (var i = 0; i < 1000; ++i)
44 for (var i = 0; i < 1000; ++i)
45 result += foo(new G());
47 if (result != 42000000)
48 throw "Error: bad result: " + result;