If we want to avoid adding new features to the object, we should use the Object.preventExtensions () method.
Everything about HTML-JavaScript-CSS
If we want to avoid adding new features to the object, we should use the Object.preventExtensions () method.