Value.objectDefinePropertyData

Define or modify a property with @property_name in object referenced by @value. This is equivalent to JavaScript <function>Object.defineProperty()</function> when used with a data descriptor.

class Value
void
objectDefinePropertyData
(,
JSCValuePropertyFlags flags
,)

Parameters

propertyName string

the name of the property to define

flags JSCValuePropertyFlags

#JSCValuePropertyFlags

propertyValue Value

the default property value

Meta