subscript(_:)

Access the index member dynamically through JavaScript and Swift runtime bridge library.

JSObject.swift:140
subscript(index: Int) -> JSValue { get set }

Parameters

index

The index of this object’s member to access.

Returns

The value of the index member of this object.