Fix error throw in jerry_define_own_property (#4662)
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
@@ -559,17 +559,10 @@ the `value` field should contain the value for the property.
|
||||
```c
|
||||
typedef struct
|
||||
{
|
||||
/** any combination of jerry_property_descriptor_flags_t bits */
|
||||
uint16_t flags;
|
||||
|
||||
/** [[Value]] */
|
||||
jerry_value_t value;
|
||||
|
||||
/** [[Get]] */
|
||||
jerry_value_t getter;
|
||||
|
||||
/** [[Set]] */
|
||||
jerry_value_t setter;
|
||||
uint16_t flags; /**< any combination of jerry_property_descriptor_flags_t bits */
|
||||
jerry_value_t value; /**< [[Value]] */
|
||||
jerry_value_t getter; /**< [[Get]] */
|
||||
jerry_value_t setter; /**< [[Set]] */
|
||||
} jerry_property_descriptor_t;
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user