| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a0db5fb commit a7f28a0
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -91,8 +91,6 @@ exports.OutgoingMessage = OutgoingMessage; | |||
| 91 | 91 | OutgoingMessage.prototype.setTimeout = function(msecs, callback) { | |
| 92 | 92 | ||
| 93 | 93 | if (callback) { | |
| 94 | - if (typeof callback !== 'function') | ||
| 95 | - throw new TypeError('callback must be a function'); | ||
| 96 | 94 | this.on('timeout', callback); | |
| 97 | 95 | } | |
| 98 | 96 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments