timers: optimize callback call: bind -> arrow · nodejs/node@1279adc · GitHub
Skip to content

Commit 1279adc

Browse files
bsnotervagg
authored andcommitted
timers: optimize callback call: bind -> arrow
ES6 arrow functions are much more efficient than `.bind()` functions. PR-URL: #4038 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
1 parent 95dd60c commit 1279adc

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

lib/timers.js

Lines changed: 9 additions & 9 deletions

0 commit comments

Comments
 (0)