Contents

webScriptValue(at:)

Returns the value of a property at the specified index.

Declaration

func webScriptValue(at index: UInt32) -> Any!

Parameters

  • index:

    The index of the property.

Return Value

The value of a property at index. Returns WebUndefined if an exception is thrown in the JavaScript environment.

Discussion

Accessing property values by index is dependent on the scripting environment.

See Also

Getting and setting properties