blob: ebd27dd17dd66f77a030771abfd0234a4efc442d (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
assertEq(isConstructor(Tuple.prototype.slice), false);
assertThrowsInstanceOf(() => {
let t = #[1];
new t.slice();
}, TypeError, '`let t = #[1]; new t.slice()` throws TypeError');
reportCompare(0, 0);
|