Lines Matching refs:prototype
52 // If we put a number in the prototype, then the spec says it should be
54 Array.prototype["123"] = 'baz';
64 // When we take the number off the prototype it disappears from a, but
66 Array.prototype["123"] = undefined;
70 // If the element of prototype is shadowed, the element on the instance
71 // should be copied, but not the one on the prototype.
72 Array.prototype[123] = 'baz';
78 // Non-numeric properties on the prototype or the array shouldn't get
80 Array.prototype.moe = 'joe';
87 // moe was not copied, but we can see it through the prototype
90 // When we take moe off the prototype it disappears from all arrays.
91 Array.prototype.moe = undefined;