Skip to main content

own_enum_string_keys

Function own_enum_string_keys 

Source
pub fn own_enum_string_keys(v: &Value) -> Result<Vec<String>, String>
Expand description

The own keys of a proxy that are ENUMERABLE string keys — Object.keys, for-in’s own half, object spread and JSON.stringify all need this shape. 10.5.11 defines it as ownKeys filtered by each key’s [[GetOwnProperty]], so both traps really do run, in that order.