| Index: src/string.js
|
| diff --git a/src/string.js b/src/string.js
|
| index dd2b9d7b9cae7c315279a8ba7ac9d02f68ed9025..331f98d28e70c6695248852fcfb05be44d6fd4b0 100644
|
| --- a/src/string.js
|
| +++ b/src/string.js
|
| @@ -191,6 +191,7 @@ function StringMatchJS(regexp) {
|
| // proper functionality.
|
| function StringNormalizeJS() {
|
| CHECK_OBJECT_COERCIBLE(this, "String.prototype.normalize");
|
| + var s = TO_STRING_INLINE(this);
|
|
|
| var formArg = %_Arguments(0);
|
| var form = IS_UNDEFINED(formArg) ? 'NFC' : TO_STRING_INLINE(formArg);
|
| @@ -203,7 +204,7 @@ function StringNormalizeJS() {
|
| %_CallFunction(NORMALIZATION_FORMS, ', ', ArrayJoin));
|
| }
|
|
|
| - return %_ValueOf(this);
|
| + return s;
|
| }
|
|
|
|
|
|
|