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:
@@ -64,7 +64,7 @@ ecma_builtin_array_prototype_helper_set_length (ecma_object_t *object, /**< obje
|
|||||||
ret_value = ecma_op_object_put (object,
|
ret_value = ecma_op_object_put (object,
|
||||||
ecma_get_magic_string (LIT_MAGIC_STRING_LENGTH),
|
ecma_get_magic_string (LIT_MAGIC_STRING_LENGTH),
|
||||||
length_value,
|
length_value,
|
||||||
true),
|
true);
|
||||||
|
|
||||||
ecma_free_value (length_value);
|
ecma_free_value (length_value);
|
||||||
return ret_value;
|
return ret_value;
|
||||||
|
|||||||
Reference in New Issue
Block a user