current commit
240529.2 · Use new wast parser in wasm2js (#6606)
(module
 (type $FUNCSIG$vi (func (param i32)))
 (type $FUNCSIG$ii (func (param i32) (result i32)))

 (import "env" "memory" (memory $import$memory 256 256))
 (import "env" "memoryBase" (global $import$memoryBase i32))
 (import "env" "tableBase" (global $import$tableBase i32))

 (data (global.get $import$memoryBase) "dynamic data")

 (table 10 10 funcref)
 (elem (global.get $import$tableBase) $foo $bar)

 (export "baz" (func $baz))
 (export "tab" (table 0))

 (func $foo)
 (func $bar)
 (func $baz)
)