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): WebAssembly.Module
Parameters
- bytes: BufferSource
Returns WebAssembly.Module
prototype: WebAssembly.Module
custom
Sections :function- custom
Sections (moduleObject, sectionName): ArrayBuffer[] Parameters
- moduleObject: WebAssembly.Module
- sectionName: string
Returns ArrayBuffer[]
- custom
exports:function
- exports(moduleObject): ModuleExportDescriptor[]
Parameters
- moduleObject: WebAssembly.Module
Returns ModuleExportDescriptor[]
imports:function
- imports(moduleObject): ModuleImportDescriptor[]
Parameters
- moduleObject: WebAssembly.Module
Returns ModuleImportDescriptor[]
MDN Reference