get

fun get(target: JsAny, propertyKey: PropertyKey): JsAny?(source)

Gets the property of target, equivalent to target[propertyKey] when receiver === target.

Parameters

target

Object that contains the property on itself or in its prototype chain.

propertyKey

The property name.