From c474f8898755c827187da2e8e4196dec3c48e6c4 Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Sat, 17 Jun 2017 15:11:45 +0200 Subject: lib: fix typos PR-URL: https://github.com/nodejs/node/pull/13741 Reviewed-By: Colin Ihrig Reviewed-By: Roman Reiss Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Gibson Fahnestock --- lib/url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/url.js') diff --git a/lib/url.js b/lib/url.js index f3ebbec7b1..2c9bc58ab5 100644 --- a/lib/url.js +++ b/lib/url.js @@ -449,7 +449,7 @@ function autoEscapeStr(rest) { var lastEscapedPos = 0; for (var i = 0; i < rest.length; ++i) { // Manual switching is faster than using a Map/Object. - // `escaped` contains substring up to the last escaped cahracter. + // `escaped` contains substring up to the last escaped character. switch (rest.charCodeAt(i)) { case 9: // '\t' // Concat if there are ordinary characters in the middle. -- cgit v1.2.3