Contents

init(newObjectIn:)

Creates a new, empty JavaScript object value.

Declaration

init!(newObjectIn context: JSContext!)

Parameters

  • context:

    The JavaScript context in which to create the value.

Return Value

An empty JavaScript object value.

Discussion

Calling this method is equivalent to declaring an empty object literal {} or using the new Object() syntax in JavaScript.

See Also

Creating JavaScript Values