Debian Codegraph @

js/src/tests/test262/built-ins/Promise/resolve/S25.4.4.5_A1.1_T1.js

raw
1 // Copyright 2014 Cubane Canada, Inc. All rights reserved.
2 // See LICENSE for details.
3
4 /*---
5 info: |
6 Promise.resolve
7 es6id: S25.4.4.5_A1.1_T1
8 author: Sam Mikes
9 description: Promise.resolve is a function
10 ---*/
11 assert.sameValue(
12 typeof Promise.resolve,
13 "function",
14 'The value of `typeof Promise.resolve` is expected to be "function"'
15 );
16
17 reportCompare(0, 0);