Function js_sys::Reflect::prevent_extensions
source · [−]Expand description
The static Reflect.preventExtensions()
method prevents new
properties from ever being added to an object (i.e. prevents
future extensions to the object). It is similar to
Object.preventExtensions()
, but with some differences.