fix(javascript): avoid argument limits when expanding escaped receivers

This commit is contained in:
Ysopwnable authored and GitHub committed 2026-10-10 19:11:00 +08:00
1 parent 3cd80cbb88
commit bace2c5a4f
3 files changed
+38 -3

No files matched your search

@@ -597,11 +597,9 @@ describe("property mutation collection on minified bundles", () => {
{ length: 2000 },
(_, index) => `source.p${index} = ${index};`,
).join(" ");
const start = performance.now();
const value = resultValue(
`const source = { token: "TOKEN" }; ${writes} return [source.token, source.p1999];`,
);
expect(performance.now() - start).toBeLessThan(2000);
expect(value).toMatchObject({
status: "array",
items: [