Chromium Code Reviews| Index: src/string.js |
| =================================================================== |
| --- src/string.js (revision 1456) |
| +++ src/string.js (working copy) |
| @@ -62,7 +62,7 @@ |
| // ECMA-262, section 15.5.4.4 |
| function StringCharAt(pos) { |
| - var char_code = %_FastCharCodeAt(subject, index); |
| + var char_code = %_FastCharCodeAt(this, index); |
| if (!%_IsSmi(char_code)) { |
| var subject = ToString(this); |
| var index = TO_INTEGER(pos); |