Index: src/promise.js |
diff --git a/src/promise.js b/src/promise.js |
index 710abadbeb8a0517c5e49dde9646b29361d3d843..819074e62436a3724d3f07daa2561bd887e268ae 100644 |
--- a/src/promise.js |
+++ b/src/promise.js |
@@ -299,7 +299,7 @@ var promiseRaw = GLOBAL_PRIVATE("Promise#raw"); |
// Install exported functions. |
%CheckIsBootstrapping(); |
- %SetProperty(global, 'Promise', $Promise, DONT_ENUM); |
+ %AddProperty(global, 'Promise', $Promise, DONT_ENUM); |
InstallFunctions($Promise, DONT_ENUM, [ |
"defer", PromiseDeferred, |
"accept", PromiseResolved, |