MCPcopy Index your code
hub / github.com/nodejs/node / createGrowableSharedArrayBufferView

Function createGrowableSharedArrayBufferView

test/parallel/test-internal-webidl.js:15–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 context: 'Context',
14};
15function createGrowableSharedArrayBufferView() {
16 const buffer = new SharedArrayBuffer(4, { maxByteLength: 8 });
17 const view = new Uint8Array(buffer);
18 assert.strictEqual(view.buffer.growable, true);
19 return view;
20}
21
22function assertInvalidArgType(fn) {
23 assert.throws(fn, {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…