Contents

init(JSValueRef:inContext:)

Creates a JavaScript value object from the equivalent C representation.

Declaration

init!(JSValueRef value: JSValueRef!, inContext context: JSContext!)

Parameters

  • value:

    A C JavaScript value reference.

  • context:

    The JavaScript context in which to create the value.

Return Value

A JavaScript value object representing the same value.

Discussion

See JSValueRef for the C JavaScriptCore API.

See Also

Working with the C JavaScriptCore API