Lines Matching refs:getProto
35 var getProto = desc.get;
89 assertEquals(getProto.call(1), Number.prototype);
90 assertEquals(getProto.call(true), Boolean.prototype);
91 assertEquals(getProto.call(false), Boolean.prototype);
92 assertEquals(getProto.call('s'), String.prototype);
93 assertEquals(getProto.call(Symbol()), Symbol.prototype);
95 assertThrows(function() { getProto.call(null); }, TypeError);
96 assertThrows(function() { getProto.call(undefined); }, TypeError);
125 assertEquals(getProto.call(object), proto);
130 assertEquals(getProto.call(object), null);