Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/built-ins/Promise/reject/S25.4.4.4_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.reject
7 es6id: S25.4.4.4_A1.1_T1
8 author: Sam Mikes
9 description: Promise.reject is a function
10 ---*/
11
12 if ((typeof Promise.reject) !== "function") {
13 $ERROR("Expected Promise.reject to be a function");
14 }