Hash Tables & JavaScript Objects
What object manipulation restriction is being applied?
const obj = {};
Object.preventExtensions(obj);
obj.newProp = 'test';
obj.existingProp = 'value';
const obj = {};
Object.preventExtensions(obj);
obj.newProp = 'test';
obj.existingProp = 'value';