Skip to content

Commit

Permalink
http: replace util._extend() with [].slice()
Browse files Browse the repository at this point in the history
PR-URL: #634
Reviewed-BY: Nicu Micleușanu <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Stephen Belanger <[email protected]>
  • Loading branch information
jonathanong authored and Stephen Belanger committed Feb 2, 2015
1 parent 89dd8e0 commit 3e67d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exports.IncomingMessage = require('_http_incoming').IncomingMessage;


const common = require('_http_common');
exports.METHODS = util._extend([], common.methods).sort();
exports.METHODS = common.methods.slice().sort();


exports.OutgoingMessage = require('_http_outgoing').OutgoingMessage;
Expand Down

0 comments on commit 3e67d7e

Please sign in to comment.