Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index 3da316dd950ff83710d56363314769f54e3497cd..87823d92644abc6c59b1b314c8b410ad199e0229 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -179,8 +179,7 @@ function StringNormalizeJS(form) { |
var form = form ? TO_STRING_INLINE(form) : 'NFC'; |
var normalizationForm = NORMALIZATION_FORMS.indexOf(form); |
if (normalizationForm === -1) { |
- throw new $RangeError('The normalization form should be one of ' |
- + NORMALIZATION_FORMS.join(', ') + '.'); |
+ throw MakeRangeError(kNormalizationForm, NORMALIZATION_FORMS.join(', ')); |
} |
return %_ValueOf(this); |