Skip to main content

lookup_key

Function lookup_key 

Source
pub fn lookup_key(
    object: &Gc<JsObject>,
    key: &PropertyKey,
) -> Option<(Gc<JsObject>, Property)>
Expand description

key on object or anywhere up its prototype chain, with the owner.

Array-aware at every step: an array’s elements and its derived length are not in the property table, and Array.prototype is itself an array.