Chromium Code Reviews| Index: src/string.js |
| =================================================================== |
| --- src/string.js (revision 2284) |
| +++ src/string.js (working copy) |
| @@ -35,7 +35,7 @@ |
| // Set the String function and constructor. |
| %SetCode($String, function(x) { |
| var value = %_ArgumentsLength() == 0 ? '' : ToString(x); |
| - if (%IsConstructCall()) { |
| + if (%_IsConstructCall()) { |
| %_SetValueOf(this, value); |
| } else { |
| return value; |