summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Tuple/from/items-is-null-throws.js
blob: d6574bebd16fc19b26179bbc8f7eba064df48a6b (plain)
1
2
3
4
5
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
assertThrowsInstanceOf(() => Tuple.from(null), TypeError,
                       'Tuple.from(null) should throw');

reportCompare(0, 0);