Debian Codegraph @

js/src/tests/test262/built-ins/Promise/all/S25.4.4.1_A2.1_T1.js

raw
1 // Copyright 2014 Cubane Canada, Inc. All rights reserved.
2 // See LICENSE for details.
3
4 /*---
5 info: Promise.all([]) is a Promise
6 es6id: 25.4.4.1_A2.1_T1
7 author: Sam Mikes
8 description: Promise.all returns a Promise
9 ---*/
10
11 var p = Promise.all([]);
12 assert(!!(p instanceof Promise), 'The value of !!(p instanceof Promise) is expected to be true');
13
14 reportCompare(0, 0);