MCPcopy Create free account
hub / github.com/nodejs/node / addArray

Method addArray

test/fixtures/wpt/wasm/jsapi/wasm-module-builder.js:1003–1006  ·  view source on GitHub ↗
(type, mutability, supertype_idx = kNoSuperType, is_final = false)

Source from the content-addressed store, hash-verified

1001 }
1002
1003 addArray(type, mutability, supertype_idx = kNoSuperType, is_final = false) {
1004 this.types.push(new WasmArray(type, mutability, is_final, supertype_idx));
1005 return this.types.length - 1;
1006 }
1007
1008 static defaultFor(type) {
1009 switch (type) {

Callers 4

polyfill.jsFile · 0.45
basic.any.jsFile · 0.45

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected