Chromium Code Reviews| Index: src/string.js |
| diff --git a/src/string.js b/src/string.js |
| index 4cae85b02220bb171becf9ea78d72458b1a40297..44315bba168b20197194556986be5d2aa97f7a8a 100644 |
| --- a/src/string.js |
| +++ b/src/string.js |
| @@ -170,7 +170,6 @@ function StringLocaleCompare(other) { |
| throw MakeTypeError("called_on_null_or_undefined", |
| ["String.prototype.localeCompare"]); |
| } |
| - if (%_ArgumentsLength() === 0) return 0; |
| return %StringLocaleCompare(TO_STRING_INLINE(this), |
| TO_STRING_INLINE(other)); |
| } |