| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -79,6 +79,7 @@ const { | |||
| 79 | 79 | NumberMIN_SAFE_INTEGER, | |
| 80 | 80 | ObjectCreate, | |
| 81 | 81 | Symbol, | |
| 82 | + ReflectApply, | ||
| 82 | 83 | } = primordials; | |
| 83 | 84 | ||
| 84 | 85 | const { | |
@@ -555,7 +556,7 @@ function getTimerCallbacks(runNextTicks) { | |||
| 555 | 556 | if (args === undefined) | |
| 556 | 557 | timer._onTimeout(); | |
| 557 | 558 | else | |
| 558 | - timer._onTimeout(...args); | ||
| 559 | + ReflectApply(timer._onTimeout, timer, args); | ||
| 559 | 560 | } finally { | |
| 560 | 561 | if (timer._repeat && timer._idleTimeout !== -1) { | |
| 561 | 562 | timer._idleTimeout = timer._repeat; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments