Function js_sys::Reflect::get

source ยท
pub fn get(target: &JsValue, key: &JsValue) -> Result<JsValue, JsValue>
Expand description

The static Reflect.get() method works like getting a property from an object (target[propertyKey]) as a function.

MDN documentation