Skip to content

Commit f3749d7

Browse files
vsemozhetbytMylesBorins
authored andcommitted
tools: remove unneeded parentheses in doc/html.js
PR-URL: #16845 Ref: #16801 (comment) Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
1 parent a99755f commit f3749d7

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
@@ -466,7 +466,7 @@ function getId(text) {
466466
text = text.replace(/^_+|_+$/, '');
467467
text = text.replace(/^([^a-z])/, '_$1');
468468
if (idCounters.hasOwnProperty(text)) {
469-
text += `_${(++idCounters[text])}`;
469+
text += `_${++idCounters[text]}`;
470470
} else {
471471
idCounters[text] = 0;
472472
}

0 commit comments

Comments
 (0)