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:
Zoltan Herczeg
2021-04-27 09:42:20 +02:00
committed by GitHub
parent 8aaabd8b01
commit 823a8b128d
5 changed files with 61 additions and 70 deletions
+4 -11
View File
@@ -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;
```