Skip to content

Commit 8eb32e1

Browse files
saiHemakevanlucas
authored andcommitted
lib: replace String concatenation with template
PR-URL: #16922 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
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)