Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions quickjs.c
Original file line number Diff line number Diff line change
Expand Up @@ -41499,6 +41499,11 @@ static JSValue js_iterator_concat_next(JSContext *ctx, JSValueConst this_val,
// not done, construct { done: false, value: xxx } object
// copy .value verbatim from source object, spec doesn't
// allow dereferencing getters here
d = (JSPropertyDescriptor){
.value = JS_UNDEFINED,
.getter = JS_UNDEFINED,
.setter = JS_UNDEFINED,
};
ret = JS_GetOwnProperty(ctx, &d, item, JS_ATOM_value);
JS_FreeValue(ctx, item);
if (ret < 0)
Expand Down
Loading