Revert "Fix sloppy mode arguments uninitialized value use" (#276)

This reverts commit f8b3a2e93c.

No longer necessary after commit 90d8c6bae0.
This commit is contained in:
Ben Noordhuis 2024-02-23 11:55:51 +01:00 committed by GitHub
parent 79d417a90d
commit 2d1473efbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13194,8 +13194,6 @@ static JSValue js_build_mapped_arguments(JSContext *ctx, int argc,
if (JS_IsException(val)) if (JS_IsException(val))
return val; return val;
p = JS_VALUE_GET_OBJ(val); p = JS_VALUE_GET_OBJ(val);
p->u.array.u.values = NULL;
p->u.array.count = 0;
/* add the length field (cannot fail) */ /* add the length field (cannot fail) */
pr = add_property(ctx, p, JS_ATOM_length, pr = add_property(ctx, p, JS_ATOM_length,