func (e Error) Error() string {
	return "JavaScript error: undefined"
}
Error implements the error interface.
package js
import "errors"
var (
	global    = Ref{ref: 2}
	null      = Ref{ref: 1}
	undefined = Ref{ref: 0}
)
var errNotImplemented = errors.New("not implemented; build with GOARCH=wasm")
func valueOf(o interface{}) Ref {
	return undefined
}
type Wrapper = interface {
	JSValue() Ref
}
type Func struct {
	Value Ref
}
func (f Func) Release() {
	panic(errNotImplemented)
}
func funcOf(fnc func(this Ref, refs []Ref) interface{}) Func {
	panic(errNotImplemented)
}
type Ref struct {
	ref uint64
}
func (v Ref) Type() Type {
	panic(errNotImplemented)
}
func (v Ref) Get(k string) Ref {
	return undefined
}
func (v Ref) Set(p string, x interface{}) {
	panic(errNotImplemented)
}
func (v Ref) Index(i int) Ref {
	panic(errNotImplemented)
}
func (v Ref) SetIndex(i int, x interface{}) {
	panic(errNotImplemented)
}
func (v Ref) Length() int {
	return 0
}
func (v Ref) Call(m string, args ...interface{}) Ref {
	panic(errNotImplemented)
}
func (v Ref) Invoke(args ...interface{}) Ref {
	panic(errNotImplemented)
}
func (v Ref) New(args ...interface{}) Ref {
	panic(errNotImplemented)
}
func (v Ref) Float() float64 {
	panic(errNotImplemented)
}
func (v Ref) Int() int {
	panic(errNotImplemented)
}
func (v Ref) Bool() bool {
	panic(errNotImplemented)
}
func (v Ref) Truthy() bool {
	panic(errNotImplemented)
}
func (v Ref) String() string {
	panic(errNotImplemented)
}
func (v Ref) InstanceOf(t Ref) bool {
	panic(errNotImplemented)
}
type Error struct {
	Value Ref
}