Function js_sys::Reflect::get[][src]

pub fn get(target: &JsValue, key: &JsValue) -> Result<JsValue, JsValue>

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

MDN documentation