In JavaScript we can prevent an Object to add any new property. We achieve this using Object.preventExtensions()function. This is used to prevent changes in the ...