module = new WebAssembly.Module({
;; single function (at index 0)
;; export function at index 0 as "foo"
;; import a table
;; elements section with a single element:
;; element = { offset 0, function indices: [0] }
(all of this is in the binary of course)
});
let table = new WebAssembly.Table({element: "anyfunc", initial: 1});
let instance = new WebAssembly.Instance(module, {import: {table}});
instance.exports.foo === table.get(0) // What is this? true or false?