| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 07d195a commit 02fc95d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -146,8 +146,8 @@ EventEmitter.init = function(opts) { | |||
| 146 | 146 | } | |
| 147 | 147 | this[kCapture] = Boolean(opts.captureRejections); | |
| 148 | 148 | } else { | |
| 149 | - // Assigning it directly a prototype lookup, as it slighly expensive | ||
| 150 | - // and it sits in a very sensitive hot path. | ||
| 149 | + // Assigning the kCapture property directly saves an expensive | ||
| 150 | + // prototype lookup in a very sensitive hot path. | ||
| 151 | 151 | this[kCapture] = EventEmitter.prototype[kCapture]; | |
| 152 | 152 | } | |
| 153 | 153 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments