From bdca4d3ccf8195e26d623a84d13558a3bc3f08af Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Sat, 25 Jun 2022 12:33:19 +0200 Subject: [PATCH] util: remove unnecessary template string Signed-off-by: Ruben Bridgewater PR-URL: https://github.com/nodejs/node/pull/41082 Reviewed-By: James M Snell Reviewed-By: Antoine du Hamel --- lib/internal/util/inspect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/util/inspect.js b/lib/internal/util/inspect.js index a055d60e8acb21..fe86189ce68cb3 100644 --- a/lib/internal/util/inspect.js +++ b/lib/internal/util/inspect.js @@ -534,7 +534,7 @@ function strEscape(str) { continue; } } - result += `${StringPrototypeSlice(str, last, i)}${`\\u${point.toString(16)}`}`; + result += `${StringPrototypeSlice(str, last, i)}\\u${point.toString(16)}`; last = i + 1; } }