subscript(_:)

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

JSObject.swift:126
subscript(name: JSString) -> JSValue { get set }

Parameters

name

The name of this object’s member to access.

Returns

The value of the name member of this object.