mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Remove usage of comma operator in array prototype
There was a typo in the `ecma_builtin_array_prototype_helper_set_length` method as the comma operator was used to close the statement, incorrectly JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
parent
65ae949dc3
commit
86111acbc4
@ -64,7 +64,7 @@ ecma_builtin_array_prototype_helper_set_length (ecma_object_t *object, /**< obje
|
||||
ret_value = ecma_op_object_put (object,
|
||||
ecma_get_magic_string (LIT_MAGIC_STRING_LENGTH),
|
||||
length_value,
|
||||
true),
|
||||
true);
|
||||
|
||||
ecma_free_value (length_value);
|
||||
return ret_value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user