Skip to content

Commit 1c9bcef

Browse files
committed
Use symbol instead of string
1 parent facf6e6 commit 1c9bcef

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/language-js/utils.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,8 +1318,9 @@ function isEnabledHackPipeline(options) {
13181318
/**
13191319
* This is used as a marker for dangling comments.
13201320
*/
1321-
const markerForIfWithoutBlockAndSameLineComment =
1322-
"ifWithoutBlockAndSameLineComment";
1321+
const markerForIfWithoutBlockAndSameLineComment = Symbol(
1322+
"ifWithoutBlockAndSameLineComment"
1323+
);
13231324

13241325
module.exports = {
13251326
getFunctionParameters,

0 commit comments

Comments
 (0)