Commit 8b8ef00
committed
refactor: use Number.MAX_SAFE_INTEGER instead of Infinity for default limit
Using MAX_SAFE_INTEGER is more explicit and safer than Infinity for numeric operations1 parent 0323b06 commit 8b8ef00
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
393 | 393 | | |
394 | 394 | | |
395 | 395 | | |
396 | | - | |
| 396 | + | |
397 | 397 | | |
398 | 398 | | |
399 | 399 | | |
| |||
0 commit comments