aboutsummaryrefslogtreecommitdiff
path: root/test/js/promise_s24.t.js
blob: f1e4a4ad2a0b2dafb876f3d53b9c48248e992fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*---
includes: []
flags: []
---*/

let checkPoint = '';

Promise.reject.call(function(executor) {
    checkPoint += 'a';
    executor();

    checkPoint += 'b';
    executor(function() {}, function() {});

    checkPoint += 'c';
}, {});

assert.sameValue(checkPoint, 'abc');