diff --git a/lib/url.js b/lib/url.js index cb2a17146d..214c8a9320 100644 --- a/lib/url.js +++ b/lib/url.js @@ -71,9 +71,9 @@ ParsedQueryString.prototype = Object.create(null); function urlParse(url, parseQueryString, slashesDenoteHost) { if (url instanceof Url) return url; - var u = new Url(); - u.parse(url, parseQueryString, slashesDenoteHost); - return u; + var urlObject = new Url(); + urlObject.parse(url, parseQueryString, slashesDenoteHost); + return urlObject; } Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {