object Object.preventExtensions(O:object)
Sets the [[Extensible]] attribute for object O to false. This means you cannot create new own properties for O.
Object.preventExtensions = function(O){
if (Type(O) != 'Object') throw TypeError;
O.[[Extensible]] = false;
return O;
}