JSContextGetGlobalContext(_:)
Gets the global context of a JavaScript execution context.
Declaration
func JSContextGetGlobalContext(_ ctx: JSContextRef!) -> JSGlobalContextRef!Parameters
- ctx:
The
JSContextRefwith the global context you want to get.
Return Value
The global context of ctx.