object_define_property_data


Description:

public void object_define_property_data (string property_name, ValuePropertyFlags flags, Value? property_value)

Define or modify a property with property_name in object referenced by this.

This is equivalent to JavaScript <function>Object.defineProperty()</function> when used with a data descriptor.

Parameters:

this

a Value

property_name

the name of the property to define

flags

ValuePropertyFlags

property_value

the default property value