Package-level declarations

Types

Link copied to clipboard
object JavaScript

Convenience entrypoints into JavaScript guest types, including JS embedded and literal scripts. After obtaining an ExecutableScript instance, guest code can be executed by calling any of the "execute" methods present on a JavaScript Runtime instance. These may be obtained from the relevant VM facade factory.

Link copied to clipboard
object JsError

Utility for wrapping JavaScript error types.

Link copied to clipboard
object JsProxy

Base implementations for JS proxy objects.

Link copied to clipboard
@Serializable
value class JsSymbol : Symbol, Comparable<Symbol> , Serializable

Describes a symbol registered for injection into the JavaScript VM as an intrinsic value; JavaScript symbols consist of a name and an "internal" flag.

Functions

Link copied to clipboard
fun nullvalue(): JSDynamicObject

Returns the singleton instance describing JavaScript's null value.

Link copied to clipboard
fun undefined(): JSDynamicObject

Returns the singleton instance describing JavaScript's undefined value.