Skip to content

JsContextRef

Limin Zhu edited this page Oct 9, 2015 · 1 revision

A reference to a script context.

Syntax

typedef JsRef JsContextRef;

Remarks

Each script context contains its own global object, distinct from the global object in other script contexts.

Many Chakra hosting APIs require an "active" script context, which can be set using JsSetCurrentContext. Chakra hosting APIs that require a current context to be set will note that explicitly in their documentation.

Clone this wiki locally