summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Promise/prototype/catch/S25.4.5.1_A1.1_T1.js
blob: 0f145ac2b24f2a954a7dec6fc6d5bfcdfaed6370 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2014 Cubane Canada, Inc.  All rights reserved.
// See LICENSE for details.

/*---
info: |
    Promise prototype.catch is a function
es6id: S25.4.5.1_A1.1_T1
author: Sam Mikes
description: Promise.prototype.catch is a function
---*/
assert(
  !!(Promise.prototype.catch instanceof Function),
  'The value of !!(Promise.prototype.catch instanceof Function) is expected to be true'
);

reportCompare(0, 0);