Skip to main content

key_value

Function key_value 

Source
pub fn key_value(k: &str) -> Value
Expand description

An internal property key as the JS value a trap receives: the SYMBOL for a symbol-keyed property (@@sym:7, @@iterator), a string otherwise. A trap that inspects its key argument must see what the script wrote.