remove logs
This commit is contained in:
parent
803f7df155
commit
4f9c552ed7
@ -10,8 +10,6 @@ import (
|
|||||||
// TODO: log seems to cause an issue
|
// TODO: log seems to cause an issue
|
||||||
func addition(this js.Value, args []js.Value) interface{} {
|
func addition(this js.Value, args []js.Value) interface{} {
|
||||||
fmt.Println("In WASM", args)
|
fmt.Println("In WASM", args)
|
||||||
this.Set()
|
|
||||||
this.SetIndex()
|
|
||||||
a, b := args[0].Int(), args[1].Int()
|
a, b := args[0].Int(), args[1].Int()
|
||||||
return a + b
|
return a + b
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user