blob: c7844a4c83a496adcc58acb8a2b4e38aea89ff69 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
/* 18 ECMAScript Standard Built-in Objects
...
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
*/
assertEq(isConstructor(Tuple.isTuple), false);
assertThrowsInstanceOf(() => new Tuple.isTuple(#[]), TypeError,
"new Tuple.isTuple(#[]) throws");
reportCompare(0, 0);
|