Skip to content

Commit

Permalink
lib: Replace String concatenation with template
Browse files Browse the repository at this point in the history
  • Loading branch information
saiHemak committed Nov 10, 2017
1 parent 7af469a commit e4e66f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/v8_prof_polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var line = '';

function peekline() {
const s = readline();
line = s + '\n' + line;
line = `${s}\n${line}`;
return s;
}

Expand Down

0 comments on commit e4e66f3

Please sign in to comment.