Index: src/promise.js |
diff --git a/src/promise.js b/src/promise.js |
index d202f2886166af38985140786888831c0ba25be5..289c63b0cdb9b271133b46c027f5d5b03c612e5d 100644 |
--- a/src/promise.js |
+++ b/src/promise.js |
@@ -40,7 +40,7 @@ var promiseOnReject = GLOBAL_PRIVATE("Promise#onReject"); |
var promiseRaw = GLOBAL_PRIVATE("Promise#raw"); |
function IsPromise(x) { |
- return IS_SPEC_OBJECT(x) && %HasLocalProperty(x, promiseStatus); |
+ return IS_SPEC_OBJECT(x) && HAS_PRIVATE(x, promiseStatus); |
} |
function PromiseSet(promise, status, value, onResolve, onReject) { |