blob: 86fc2e713b62fb6a1ec64fd4222e52dbf659199f (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
var TuplePrototype = Tuple.prototype;
assertEq(typeof TuplePrototype.toSorted, 'function');
assertThrowsInstanceOf(function() {
TuplePrototype.toSorted();
}, TypeError, "toSorted() invoked as method");
reportCompare(0, 0);
|