JSContextGetGlobalObject(_:)
Gets the global object of a JavaScript execution context.
Declaration
func JSContextGetGlobalObject(_ ctx: JSContextRef!) -> JSObjectRef!Parameters
- ctx:
The Jscontextref with the global object you want to get.
Return Value
The global object of ctx.