Versions in this module Expand all Collapse all v1 v1.10.27 Dec 7, 2022 Changes in this version + var ErrorColor = color.New(color.FgHiRed).SprintfFunc() + var FunctionColor = color.New(color.FgMagenta).SprintfFunc() + var NumberColor = color.New(color.FgRed).SprintfFunc() + var SpecialColor = color.New(color.Bold).SprintfFunc() + var StringColor = color.New(color.FgGreen).SprintfFunc() + func MakeCallback(vm *goja.Runtime, fn func(Call) (goja.Value, error)) goja.Value + func SafeGet(obj *goja.Object, key string) (ret goja.Value) + type Call struct + VM *goja.Runtime + type JSRE struct + func New(assetPath string, output io.Writer) *JSRE + func (jsre *JSRE) CompleteKeywords(line string) []string + func (re *JSRE) Compile(filename string, src string) (err error) + func (re *JSRE) Do(fn func(*goja.Runtime)) + func (re *JSRE) Evaluate(code string, w io.Writer) + func (re *JSRE) Exec(file string) error + func (re *JSRE) Interrupt(v interface{}) + func (re *JSRE) Run(code string) (v goja.Value, err error) + func (re *JSRE) Set(ns string, v interface{}) (err error) + func (re *JSRE) Stop(waitForCallbacks bool)