forked from mysticatea/eslint-utils
-
-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
I recently noticed that getStaticValue
treats the result of Symbol.for()
as a static value, but not the result of Symbol()
. This does seem reasonable if you think about it, but it's not obvious at first glance from the docs that that would be the case. The behavior around global symbols is specifically called out, so I think this behavior around static symbols should be too.
Symbols are always confusing!
JoshuaKGoldberg and developer-bandi
Metadata
Metadata
Assignees
Labels
No labels