wasm: add support for js.FuncOf

This commit is contained in:
Ayke van Laethem
2019-05-24 15:30:09 +02:00
committed by Ayke
parent 3313decb68
commit eb1d834dd4
9 changed files with 129 additions and 27 deletions
+4
View File
@@ -49,3 +49,7 @@ func lookupPanic() {
func slicePanic() {
runtimePanic("slice out of range")
}
func blockingPanic() {
runtimePanic("trying to do blocking operation in exported function")
}