You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 3, 2021. It is now read-only.
This change modifies `assert_return`. After the Wasm function is
invoked, the result will either be `undefined`, a JS `Number`, or a JS
`Array`. It's simpler to treat them all as an array, with `undefined`
representing an empty array, and `Number` representing an array with one
element.
We don't check for `Number` here, since as soon as we add support for
the reference-types proposal, a scalar result may be an `Object` too.
Fixes issue #44.
0 commit comments