how wasm do javascript `||` logical operator

The Go Programming language already contains the OR operator. Here is a quicklist of operators that you can reference: https://www.tutorialspoint.com/go/go_operators.htm

I am worried that you have no familiarity at all with the basics of the language and I would suggest that you take the Go tour to get filled in: https://tour.golang.org/welcome/1