Enum v8::IntegrityLevel
source · #[repr(C)]
pub enum IntegrityLevel {
Frozen,
Sealed,
}
Expand description
Object integrity levels can be used to restrict what can be done to an object’s properties.
Variants§
Frozen
Frozen objects are like Sealed objects, except all existing properties are also made non-writable.
Sealed
Sealed objects prevent addition of any new property on the object, makes all existing properties non-configurable, meaning they cannot be deleted, have their enumerability, configurability, or writability changed.