Checkpoint before integration and package validation. Assisted-by: SurmAgent:unknown [read] [edit] [bash]
5 lines
199 B
JavaScript
5 lines
199 B
JavaScript
import { assertThrows } from "./assert.js";
|
|
|
|
const ab = new ArrayBuffer(16, { maxByteLength: 16 });
|
|
const ta = new Int8Array(ab);
|
|
assertThrows(TypeError, function() { Object.preventExtensions(ta) }); |