js_sys::Reflect
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.
Reflect.get()
target[propertyKey]
MDN documentation