Skip to content

Commit 8eb32e1

Browse files
saiHemakevanlucas
authored andcommitted
lib: replace String concatenation with template
PR-URL: #16922 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent 1510fda commit 8eb32e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/v8_prof_polyfill.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ var line = '';
7979

8080
function peekline() {
8181
const s = readline();
82-
line = s + '\n' + line;
82+
line = `${s}\n${line}`;
8383
return s;
8484
}
8585

0 commit comments

Comments
 (0)