js_sys::Reflect

Function own_keys

source
pub fn own_keys(target: &JsValue) -> Result<Array, JsValue>
Expand description

The static Reflect.ownKeys() method returns an array of the target object’s own property keys.

MDN documentation