mirror of https://github.com/tc39/test262.git
17 lines
398 B
JavaScript
17 lines
398 B
JavaScript
// Copyright 2014 Cubane Canada, Inc. All rights reserved.
|
|
// See LICENSE for details.
|
|
|
|
/*---
|
|
info: >
|
|
Promise.all should throw if 'this' does not conform to Promise constructor
|
|
es6id: S25.4.4.1_A4.1_T1
|
|
negative: TypeError
|
|
description: this must conform to Promise constructor in Promise.all
|
|
author: Sam Mikes
|
|
---*/
|
|
|
|
function ZeroArgConstructor() {
|
|
}
|
|
|
|
Promise.all.call(ZeroArgConstructor, []);
|