Function

JSContextGetGlobalContext(_:)

Gets the global context of a JavaScript execution context.

Declaration

func JSContextGetGlobalContext(_ ctx: JSContextRef!) -> JSGlobalContextRef!

Parameters

ctx

The JSContext whose global context you want to get.

Return Value

ctx's global context.