Skip to content

Commit

Permalink
Factories are anonymous arrow functions
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Feb 19, 2017
1 parent 1a096b7 commit b69a89e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/timers-obj.js
Expand Up @@ -43,10 +43,10 @@ module.exports = {
immediate: (callback, ...args) => {
return new ImmediateObj(callback, ...args)
},
interval: function (delay, callback, ...args) {
interval: (delay, callback, ...args) => {
return new IntervalObj(delay, callback, ...args)
},
timeout: function (delay, callback, ...args) {
timeout: (delay, callback, ...args) => {
return new TimeoutObj(delay, callback, ...args)
}
}

0 comments on commit b69a89e

Please sign in to comment.