JavaScriptKit Documentation

Class JSThrowing​Object

@dynamicMemberLookup
public class JSThrowingObject  

A JSObject wrapper that enables throwing method calls capturing this. Exceptions produced by JavaScript functions will be thrown as JSValue.

Initializers

init(_:​)

public init(_ base: JSObject)