JSContextGetGlobalContext top-level property

JSGlobalContextRef Function(JSContextRef ctx) JSContextGetGlobalContext
final

Gets the global context of a JavaScript execution context. ctx The JSContext whose global context you want to get. @result ctx's global context.

Implementation

final JSGlobalContextRef Function(JSContextRef ctx) JSContextGetGlobalContext = jscLib.lookup<NativeFunction<JSGlobalContextRef Function(JSContextRef ctx)>>('JSContextGetGlobalContext').asFunction();