Lines Matching refs:prototype
33 A.prototype = {};
34 B.prototype = new A();
35 C.prototype = new B();
37 result.A = A.prototype;
38 result.B = B.prototype;
39 result.C = C.prototype;
61 // Make sure we preserve the prototype of an object in the face of map transitions.
70 D.prototype = p
75 // Make sure that arrays and functions in the prototype chain works;
80 X.prototype = function(a,b) { };
81 Y.prototype = [1,2,3];
87 // Test setting the length of an object where the prototype is from an array.