util: remove unnecessary template string

Signed-off-by: Ruben Bridgewater <ruben@bridgewater.de>

PR-URL: https://github.com/nodejs/node/pull/41082
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
Ruben Bridgewater authored and Michaël Zasso committed 2022-07-12 07:41:55 +02:00
1 parent 6b16836448
commit bdca4d3ccf
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}
}