Skip to content

Commit 3e67d7e

Browse files
jonathanongStephen Belanger
authored andcommitted
http: replace util._extend() with [].slice()
PR-URL: nodejs#634 Reviewed-BY: Nicu Micleușanu <micnic90@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent 89dd8e0 commit 3e67d7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/http.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ exports.IncomingMessage = require('_http_incoming').IncomingMessage;
88

99

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

1313

1414
exports.OutgoingMessage = require('_http_outgoing').OutgoingMessage;

0 commit comments

Comments
 (0)