Index: src/date.js |
diff --git a/src/date.js b/src/date.js |
index c58903cc29c23f653f99e0baf4e61ab129ccee3f..c4c7f6e3830524be94ab8da5dd894626aebcf5ae 100644 |
--- a/src/date.js |
+++ b/src/date.js |
@@ -763,7 +763,7 @@ function SetUpDate() { |
)); |
// Set up non-enumerable constructor property of the Date prototype object. |
- %SetProperty($Date.prototype, "constructor", $Date, DONT_ENUM); |
+ %AddProperty($Date.prototype, "constructor", $Date, DONT_ENUM); |
// Set up non-enumerable functions of the Date prototype object and |
// set their names. |