Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7fa1068

Browse files
concavelenzcopybara-github
authored andcommitted
Update comment.
PiperOrigin-RevId: 822134230
1 parent f355dc6 commit 7fa1068

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/com/google/javascript/jscomp/NodeUtil.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ static boolean canBeSideEffected(Node n, Set<String> knownConstants, @Nullable S
11661166
}
11671167
// Properties on constant NAMEs can still be side-effected.
11681168
case GETPROP -> {
1169-
// Well-known symbols are not side-effecting.
1169+
// Assume well-known symbols will not be modified.
11701170
return !n.getFirstChild().matchesName("Symbol");
11711171
}
11721172
// Properties on constant NAMEs can still be side-effected.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /