Skip to content

Commit e536f31

Browse files
estliberitasMyles Borins
authored and
Myles Borins
committed
http,util: fix typos in comments
Fix several typos in comments. PR-URL: #5279 Reviewed-By: James M Snell <[email protected]>
1 parent cfaee62 commit e536f31

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/_http_server.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ function connectionListener(socket) {
485485
}
486486

487487
// When we're finished writing the response, check if this is the last
488-
// respose, if so destroy the socket.
488+
// response, if so destroy the socket.
489489
res.on('finish', resOnFinish);
490490
function resOnFinish() {
491491
// Usually the first incoming element should be our request. it may

lib/util.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ exports.debuglog = function(set) {
7777

7878

7979
/**
80-
* Echos the value of a value. Trys to print the value out
80+
* Echos the value of a value. Tries to print the value out
8181
* in the best way possible given the different types.
8282
*
8383
* @param {Object} obj The object to print out.
@@ -254,7 +254,7 @@ function formatValue(ctx, value, recurseTimes) {
254254

255255
if (typeof raw === 'string') {
256256
// for boxed Strings, we have to remove the 0-n indexed entries,
257-
// since they just noisey up the output and are redundant
257+
// since they just noisy up the output and are redundant
258258
keys = keys.filter(function(key) {
259259
return !(key >= 0 && key < raw.length);
260260
});

0 commit comments

Comments
 (0)