The Object.defineProperty() static method defines a new property directly on an object, or modifies an existing property on an object, and returns the object.| MDN Web Docs
Immutability means avoiding any changes to the state of an object once it has been created. Learn how to implement immutability by creating an Immer clone.| ckeditor.com