Variable Module
Module: {
prototype: WebAssembly.Module;
customSections(
moduleObject: WebAssembly.Module,
sectionName: string,
): ArrayBuffer[];
exports(moduleObject: WebAssembly.Module): ModuleExportDescriptor[];
imports(moduleObject: WebAssembly.Module): ModuleImportDescriptor[];
new (bytes: BufferSource): WebAssembly.Module;
}
prototype: WebAssembly.Module;
customSections(
moduleObject: WebAssembly.Module,
sectionName: string,
): ArrayBuffer[];
exports(moduleObject: WebAssembly.Module): ModuleExportDescriptor[];
imports(moduleObject: WebAssembly.Module): ModuleImportDescriptor[];
new (bytes: BufferSource): WebAssembly.Module;
}
Type declaration
- new (bytes: BufferSource): WebAssembly.Module
Parameters
- bytes: BufferSource
Returns WebAssembly.Module
prototype: WebAssembly.Module
customSections:function
- customSections(
moduleObject: WebAssembly.Module,
sectionName: string,
): ArrayBuffer[] Parameters
- moduleObject: WebAssembly.Module
- sectionName: string
Returns ArrayBuffer[]
- customSections(
exports:function
- exports(moduleObject: WebAssembly.Module): ModuleExportDescriptor[]
Parameters
- moduleObject: WebAssembly.Module
Returns ModuleExportDescriptor[]
imports:function
- imports(moduleObject: WebAssembly.Module): ModuleImportDescriptor[]
Parameters
- moduleObject: WebAssembly.Module
Returns ModuleImportDescriptor[]
MDN Reference