blob: 44b96dc5ff17085aa089b9c3f311912cc747f7b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
var items = {};
items[Symbol.iterator] = function() {
return {
next: function() {
throw new RangeError();
}
};
};
assertThrowsInstanceOf(function() {
Tuple.from(items);
}, RangeError, 'Tuple.from(items) should throw');
reportCompare(0, 0);
|