Skip to content

Commit e9396d2

Browse files
vsemozhetbytcjihrig
authored andcommitted
tools: remove unneeded parentheses in doc/html.js
PR-URL: #16845 Ref: #16801 (comment) Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent 219ac4b commit e9396d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/doc/html.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ function getId(text) {
518518
text = text.replace(/^_+|_+$/, '');
519519
text = text.replace(/^([^a-z])/, '_$1');
520520
if (idCounters.hasOwnProperty(text)) {
521-
text += `_${(++idCounters[text])}`;
521+
text += `_${++idCounters[text]}`;
522522
} else {
523523
idCounters[text] = 0;
524524
}

0 commit comments

Comments
 (0)