Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / v8 / src / date.js
index c58903c..87c87bf 100644 (file)
@@ -763,7 +763,7 @@ function SetUpDate() {
   ));
 
   // Set up non-enumerable constructor property of the Date prototype object.
-  %SetProperty($Date.prototype, "constructor", $Date, DONT_ENUM);
+  %AddNamedProperty($Date.prototype, "constructor", $Date, DONT_ENUM);
 
   // Set up non-enumerable functions of the Date prototype object and
   // set their names.