Function

JSContextGetGlobalObject

Gets the global object of a JavaScript execution context.

Declaration

JSObjectRef JSContextGetGlobalObject(JSContextRef ctx);

Parameters

ctx

The JSContext whose global object you want to get.

Return Value

ctx's global object.

See Also

Miscellaneous

JSContextGetGroup

Gets the context group to which a JavaScript execution context belongs.

JSContextGroupCreate

Creates a JavaScript context group.

JSContextGroupRelease

Releases a JavaScript context group.

JSContextGroupRetain

Retains a JavaScript context group.

JSGlobalContextCreate

Creates a global JavaScript execution context.

JSGlobalContextCreateInGroup

Creates a global JavaScript execution context in the context group provided.

JSGlobalContextRelease

Releases a global JavaScript execution context.

JSGlobalContextRetain

Retains a global JavaScript execution context.