Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func CopyBytesToGo(dst []byte, src Value) int — js/wasm + func CopyBytesToJS(dst Value, src []byte) int — js/wasm + type Error struct — js/wasm + func (e Error) Error() string + type Func struct — js/wasm + func FuncOf(fn func(this Value, args []Value) any) Func + func (c Func) Release() + type Type int — js/wasm + const TypeBoolean + const TypeFunction + const TypeNull + const TypeNumber + const TypeObject + const TypeString + const TypeSymbol + const TypeUndefined + func (t Type) String() string + type Value struct — js/wasm + func Global() Value + func Null() Value + func Undefined() Value + func ValueOf(x any) Value + func (v Value) Bool() bool + func (v Value) Call(m string, args ...any) Value + func (v Value) Delete(p string) + func (v Value) Equal(w Value) bool + func (v Value) Float() float64 + func (v Value) Get(p string) Value + func (v Value) Index(i int) Value + func (v Value) InstanceOf(t Value) bool + func (v Value) Int() int + func (v Value) Invoke(args ...any) Value + func (v Value) IsNaN() bool + func (v Value) IsNull() bool + func (v Value) IsUndefined() bool + func (v Value) Length() int + func (v Value) New(args ...any) Value + func (v Value) Set(p string, x any) + func (v Value) SetIndex(i int, x any) + func (v Value) String() string + func (v Value) Truthy() bool + func (v Value) Type() Type + type ValueError struct — js/wasm + Method string + Type Type + func (e *ValueError) Error() string