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