Commit 4671868
fix: avoid Maximum call stack size exceeded
Using spread syntax `...SomeIterable` with a long list inside a
function call can result in a "Maximum call stack size exceeded"
error. But this is not a problem inside array literals.1 parent 35306a2 commit 4671868
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 15 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
23 | 20 | | |
24 | 21 | | |
25 | 22 | | |
| |||
0 commit comments