From 7cfd5f169c9f9f7765df190de2890e93331bb768 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; } }