Versions in this module Expand all Collapse all v0 v0.3.0 Jun 24, 2024 Changes in this version + type Runtime struct + func NewRuntime() *Runtime + func (runtime *Runtime) Get(name string) goja.Value + func (runtime *Runtime) Script(name string, source string, args ...interface{}) *Script + func (runtime *Runtime) Set(name string, val interface{}) error + type Script struct + Args []interface{} + Name string + Source string + func (s *Script) Run(opts ...ScriptOption) (interface{}, error) + type ScriptOption func(s *Script) error + func TranspileToES5(val bool) ScriptOption