Skip to content

Commit

Permalink
lib: improve spelling and grammar in comment
Browse files Browse the repository at this point in the history
PR-URL: #31026
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
datatypevoid authored and BridgeAR committed Jan 3, 2020
1 parent e5980a1 commit a83d338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/events.js
Expand Up @@ -145,8 +145,8 @@ EventEmitter.init = function(opts) {
}
this[kCapture] = Boolean(opts.captureRejections);
} else {
// Assigning it directly a prototype lookup, as it slighly expensive
// and it sits in a very sensitive hot path.
// Assigning the kCapture property directly saves an expensive
// prototype lookup in a very sensitive hot path.
this[kCapture] = EventEmitter.prototype[kCapture];
}
};
Expand Down

0 comments on commit a83d338

Please sign in to comment.