A module is made up of several sections, some of which you'll be interacting with through the JavaScript API:
- Imports (import) are elements that can be accessed within the module and can be one of the following:
- Function, which can be called inside the module using the call operator
- Global, which can be accessed inside the module via the global operators
- Linear Memory, which can be accessed inside the module via the memory operators
- Table, which can be accessed inside the module using call_indirect
- Exports (export) are elements that can be accessed by the consuming API (that is, called by a JavaScript function)
- Module start function (start) is called after the module instance is initialized
- Global (global) contains the ...