summaryrefslogtreecommitdiff
path: root/test/built-ins/Promise/prototype/then/S25.4.5.3_A1.1_T1.js
blob: f7ce622d9ea1bf0f64b4ec42c383e0fbb1bc4534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2014 Cubane Canada, Inc.  All rights reserved.
// See LICENSE for details.

/*---
info: |
    Promise.prototype.then is a function of two arguments
es6id: S25.4.5.3_A1.1_T1
author: Sam Mikes
description: Promise.prototype.then is a function of two arguments
---*/

if (!(Promise.prototype.then instanceof Function)) {
  $ERROR("Expected Promise.prototype.then to be a function");
}