Contents

init(newArrayIn:)

Creates a new, empty JavaScript array value.

Declaration

init!(newArrayIn context: JSContext!)

Parameters

  • context:

    The JavaScript context in which to create the value.

Return Value

An empty JavaScript array value.

Discussion

Calling this method is equivalent to declaring an empty array literal [] or using the new Array() syntax in JavaScript.

See Also

Creating JavaScript Values