Contents

JSContextGetGlobalContext(_:)

Gets the global context of a JavaScript execution context.

Declaration

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

Parameters

  • ctx:

    The JSContextRef with the global context you want to get.

Return Value

The global context of ctx.