Home | History | Annotate | Download | only in mjsunit

Lines Matching defs:String

39   assertEquals("t", s().charAt("string"));
60 assertEquals(116, s().charCodeAt("string"));
83 // Make sure enough of the one-char string cache is filled.
86 var c = String.fromCharCode(i);
94 assertEquals(String.fromCharCode(i), alphaStr.charAt(i));
97 // Test stealing String.prototype.{charAt,charCodeAt}.
99 charAt: String.prototype.charAt,
100 charCodeAt: String.prototype.charCodeAt,
129 // Test custom string IC-s.
232 String.prototype.charAt = function() { return "%"; };
238 delete String.prototype.charAt; // Restore the default.
247 String.prototype.charCodeAt = function() { return 42; };
253 delete String.prototype.charCodeAt; // Restore the default.