Closed
Description
Suggestion
I discovered in #8390 that getStaticValue considers Symbol.for('static value')
a static value, but does not consider Symbol('not static')
a static value.
That makes sense if you think about it, but it's not obvious. I think it would be helpful to call that out explicitly in the JSDoc.
Note, looking at the JSDoc, though, it seems to be more or less copied from https://eslint-community.github.io/eslint-utils/api/ast-utils.html#getstaticvalue, which makes sense. so I've opened an issue in that repo as well, eslint-community/eslint-utils#196.