javascript

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JavaScript

type JavaScript struct{}

func New

func New() *JavaScript

func (*JavaScript) Args

func (j *JavaScript) Args(wrappedCode string) []string

Args returns the command-line arguments for the QuickJS interpreter.

func (*JavaScript) Module

func (j *JavaScript) Module() []byte

func (*JavaScript) Name

func (j *JavaScript) Name() string

func (*JavaScript) SessionInit

func (j *JavaScript) SessionInit() string

SessionInit returns code to set session mode flag for JavaScript.

func (*JavaScript) WrapCode

func (j *JavaScript) WrapCode(code string) string

WrapCode prepends the goru stdlib to user code.

Jump to

Keyboard shortcuts

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