Undo teeny optimization from rev 3.28, alas it breaks ECMA Ed. 3, 15.5.4.15.

This commit is contained in:
brendan%mozilla.org 2000-07-06 00:30:46 +00:00
parent c2d5bf500f
commit e5ca3a7b1a

View File

@ -2021,7 +2021,7 @@ static JSFunctionSpec string_methods[] = {
/* Java-like methods. */
{js_toString_str, str_toString, 0,0,0},
{js_valueOf_str, str_valueOf, 0,0,0},
{"substring", str_substring, 1,0,0},
{"substring", str_substring, 2,0,0},
{"toLowerCase", str_toLowerCase, 0,0,0},
{"toUpperCase", str_toUpperCase, 0,0,0},
{"charAt", str_charAt, 1,0,0},