Instance Property

jsGlobalContextRef

Returns the C representation of the JavaScript context.

Declaration

var jsGlobalContextRef: JSGlobalContextRef! { get }

Discussion

See JSContextRef.h for the C JavaScriptCore API.

See Also

Working with the C JavaScriptCore API

init!(jsGlobalContextRef: JSGlobalContextRef!)

Creates a JavaScript context object from the equivalent C representation.