mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
6b16836448
commit
bdca4d3ccf
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user