summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/all/new-resolve-function.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Promise/all/new-resolve-function.js')
-rw-r--r--test/built-ins/Promise/all/new-resolve-function.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/built-ins/Promise/all/new-resolve-function.js b/test/built-ins/Promise/all/new-resolve-function.js
index 383148f44..b4778a914 100644
--- a/test/built-ins/Promise/all/new-resolve-function.js
+++ b/test/built-ins/Promise/all/new-resolve-function.js
@@ -15,14 +15,17 @@ info: |
...
---*/
-function resolveFunction() { }
+function resolveFunction() {}
function Constructor(executor) {
executor(resolveFunction, $ERROR);
}
-Constructor.resolve = function(v) { return v; };
+Constructor.resolve = function(v) {
+ return v;
+};
-var callCount1 = 0, callCount2 = 0;
+var callCount1 = 0,
+ callCount2 = 0;
var p1OnFulfilled;
var p1 = {