Repository navigation
Commit 86d31e0
authored
feat(javascript): drop
A `new` of a fixed function or class whose constructor reads neither
`arguments` nor a rest parameter, nor extends another class, ignores
arguments past its parameters; side-effect-free trailing ones go.
Claude-Session: https://claude.ai/code/session_01ViD41i2KdwwGxrDk7yrjeDnew arguments its constructor never reads in the minifier (#22506)1 parent fdc01cd commit 86d31e0
4 files changed
Lines changed: 69 additions & 7 deletions
File tree
- lib/javascript
- test
- helpers
- specCases
- unitCases
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16980 | 16980 | | |
16981 | 16981 | | |
16982 | 16982 | | |
| 16983 | + | |
| 16984 | + | |
| 16985 | + | |
| 16986 | + | |
| 16987 | + | |
| 16988 | + | |
| 16989 | + | |
| 16990 | + | |
| 16991 | + | |
| 16992 | + | |
| 16993 | + | |
| 16994 | + | |
| 16995 | + | |
| 16996 | + | |
| 16997 | + | |
| 16998 | + | |
| 16999 | + | |
| 17000 | + | |
| 17001 | + | |
| 17002 | + | |
| 17003 | + | |
| 17004 | + | |
| 17005 | + | |
| 17006 | + | |
| 17007 | + | |
| 17008 | + | |
| 17009 | + | |
| 17010 | + | |
| 17011 | + | |
| 17012 | + | |
| 17013 | + | |
| 17014 | + | |
| 17015 | + | |
| 17016 | + | |
| 17017 | + | |
| 17018 | + | |
| 17019 | + | |
| 17020 | + | |
| 17021 | + | |
| 17022 | + | |
| 17023 | + | |
| 17024 | + | |
| 17025 | + | |
| 17026 | + | |
| 17027 | + | |
16983 | 17028 | | |
16984 | 17029 | | |
16985 | 17030 | | |
| |||
16996 | 17041 | | |
16997 | 17042 | | |
16998 | 17043 | | |
| 17044 | + | |
| 17045 | + | |
| 17046 | + | |
| 17047 | + | |
| 17048 | + | |
| 17049 | + | |
| 17050 | + | |
| 17051 | + | |
| 17052 | + | |
| 17053 | + | |
16999 | 17054 | | |
17000 | 17055 | | |
17001 | 17056 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
539 | 539 | | |
540 | 540 | | |
541 | 541 | | |
542 | | - | |
543 | 542 | | |
544 | 543 | | |
545 | 544 | | |
546 | | - | |
547 | | - | |
548 | 545 | | |
549 | 546 | | |
550 | 547 | | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | 548 | | |
555 | | - | |
556 | 549 | | |
557 | 550 | | |
558 | 551 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1430 | 1430 | | |
1431 | 1431 | | |
1432 | 1432 | | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
1433 | 1440 | | |
1434 | 1441 | | |
1435 | 1442 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
264 | 269 | | |
265 | 270 | | |
266 | 271 | | |
| |||
648 | 653 | | |
649 | 654 | | |
650 | 655 | | |
| 656 | + | |
| 657 | + | |
651 | 658 | | |
652 | 659 | | |
653 | 660 | | |
| |||
0 commit comments