javascript

package
v1.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportsMock

type ExportsMock struct {
}

type JSRunner

type JSRunner struct {
	// contains filtered or unexported fields
}

func NewJSRunner

func NewJSRunner() *JSRunner

func (*JSRunner) RunCode

func (runner *JSRunner) RunCode(str string) (goja.Value, error)

func (*JSRunner) RunFunction

func (runner *JSRunner) RunFunction(name string, args ...interface{}) (goja.Value, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL