pub fn prevent_extensions(v: &Value) -> Result<Option<bool>, String>Expand description
[[PreventExtensions]].
Ok(None) → not a proxy. Otherwise the operation’s boolean result
(10.5.4): a trap’s false is a refusal — a TypeError from
Object.preventExtensions, false from Reflect.preventExtensions — and
its true must leave the target really non-extensible.