Closed
Description
I would expect in this line to pop the iterator if js_arg
is undefined
.
Otherwise there can only be a single optional argument. Another consequence is that jerryx_arg_transform_optional
does not work together with jerryx_arg_transform_object_properties
because the iterator does not get advanced when an optional arg is undefined
...
It looks like the unit test doesn't have either of these scenarios as a test case.
@jiangzidong do you agree this is a bug?