The name or Symbol of the property to be defined or modified.
The container object.
The value associated with the property
Optional
writable: boolean = falseIf true
the value may be changed later. Defaults to false
.
Optional
enumerable: boolean = falseIf true
this property shows up during enumeration of the properties in the object. Defaults to false
.
Generated using TypeDoc
Adds a property to an object, or modifies the existing value.
Returns