diff --git a/lib/_http_common.js b/lib/_http_common.js index a1fe29217f59d5..4c8d3c3850b2fa 100644 --- a/lib/_http_common.js +++ b/lib/_http_common.js @@ -78,7 +78,7 @@ function parserOnHeadersComplete(versionMajor, versionMinor, headers, method, parser.incoming = new IncomingMessage(parser.socket); parser.incoming.httpVersionMajor = versionMajor; parser.incoming.httpVersionMinor = versionMinor; - parser.incoming.httpVersion = versionMajor + '.' + versionMinor; + parser.incoming.httpVersion = `${versionMajor}.${versionMinor}`; parser.incoming.url = url; var n = headers.length;