blob: 9e1851e222a30465c84e6da9146802226c5efba6 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// |reftest|
var ta = new Int32Array([3, 2, 1]);
detachArrayBuffer(ta.buffer);
assertThrowsInstanceOf(() => ta.toSorted(), TypeError);
if (typeof reportCompare === "function")
reportCompare(0, 0);
|