JSCContext represents a JavaScript execution context, where all operations take place and where the values will be associated.
When a new context is created, a global object is allocated and the built-in JavaScript objects (Object, Function, String, Array) are populated. You can execute JavaScript in the context by using javascriptcore.context.Context.evaluate or javascriptcore.context.Context.evaluateWithSourceUri. It's also possible to register custom objects in the context with javascriptcore.context.Context.registerClass.
JSCContext represents a JavaScript execution context, where all operations take place and where the values will be associated.
When a new context is created, a global object is allocated and the built-in JavaScript objects (Object, Function, String, Array) are populated. You can execute JavaScript in the context by using javascriptcore.context.Context.evaluate or javascriptcore.context.Context.evaluateWithSourceUri. It's also possible to register custom objects in the context with javascriptcore.context.Context.registerClass.