(start...)
Declare which function to call when the WASM module is initialized.

Syntax

(start $function)

Parameters

$function
The name of the function to execution. This function must have no parameters or return results.

Example

(func $setupModule
  ;; Setup memory, global variables, and other start up tasks
)

(start $setupModule)