...
Parameter | Type | Mandatory | Description | Util.js version | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
nMask | Number constant | A constant describing the property and its flags:
| 0.1 | |||||||||
sKey | String | The name (key) of the property as a string. | 0.1 | |||||||||
vVal_fGet | Value or Function | If you're defining a data property, this parameter can be any Javascript value, function or object, etc. If you're defining an accessor property (getter/setter) then this parameter is the getter function. | 0.1 | |||||||||
fSet | Function | If you're defining an accessor property (getter/setter) then this parameter is the setter function (or null if you're property is read-only). | 0.1 |
...