diff --git a/quickjs.c b/quickjs.c index c430bf6..573c3c5 100644 --- a/quickjs.c +++ b/quickjs.c @@ -13194,8 +13194,6 @@ static JSValue js_build_mapped_arguments(JSContext *ctx, int argc, if (JS_IsException(val)) return val; p = JS_VALUE_GET_OBJ(val); - p->u.array.u.values = NULL; - p->u.array.count = 0; /* add the length field (cannot fail) */ pr = add_property(ctx, p, JS_ATOM_length,