Index: src/string.js |
diff --git a/src/string.js b/src/string.js |
index 07cdcc043f02c1eeaca0cca4fb2698a43881d544..d949c644337f8cb67555392c2b02ec862cde0731 100644 |
--- a/src/string.js |
+++ b/src/string.js |
@@ -915,7 +915,7 @@ function SetUpString() { |
%FunctionSetPrototype($String, new $String()); |
// Set up the constructor property on the String prototype object. |
- %SetProperty($String.prototype, "constructor", $String, DONT_ENUM); |
+ %AddProperty($String.prototype, "constructor", $String, DONT_ENUM); |
// Set up the non-enumerable functions on the String object. |
InstallFunctions($String, DONT_ENUM, $Array( |