-
Notifications
You must be signed in to change notification settings - Fork 1
Function_evisit_core_js_utils_defineRWProperty
Taylor Everding edited this page Feb 9, 2021
·
1 revision
- obj
- (Object) The object on which to define the property.
- name
- (String) The name of the property to be defined.
- value
- (*) The value associated with the property. Ignored if
getorsetis specified.- get [optional]
- (Function) A function which serves as a getter for the property.
- set [optional]
- (Function) A function which serves as a setter for the property.
- (undefined) always returns undefined
Defines a configurable, non-enumerable property on obj.