summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/arrays/bug-1811789.js
blob: 8d1cb8b0e7cdd9ca3f59ba13dd9a3a649d9fd31e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| 

load(libdir + "asserts.js");

function f5() { } 

function f0() {
    const v15 = new Uint8Array();
    f5 &&= v15;
    const v17 = new Uint8Array();
    const v16 = wrapWithProto(v17, f5);
    v16.with();
}
assertThrowsInstanceOf(() => f0(), RangeError);