blob: 9ee6b6c6dcf706eaf13ba1271d8a57fb08e52343 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
"use strict";
var t = [4];
var stop;
Object.freeze(t);
do {
let ok = false;
stop = inIon();
try {
t[0] = 2;
} catch(e) {
ok = true;
}
assertEq(ok, true);
} while (!stop);
|