js-types
js-types copied to clipboard
Clear up several issues around WebAssembly.Function usage
This clears up two issues in the overview document surrounding the usage of WebAssembly.Function, these are:
- What behaviour should occur if you pass a
WebAssembly.Functionobject to theWebAssembly.Functionconstructor. (discussed here: #13) - Clarify that the same behaviour should occur when calling the function as when calling an exported function (e.g. the
ToJSValueshould be applied to arguments when called, etc.)
cc @Ms2ger