All issues
Anti-pattern
Bug risk
Coverage
Documentation
Performance
Secrets
Security
Style
Type check
Sizes of objects that we know to be static should not be computed.
For example, we know the size of array in the snippet below to be 3. We can directly use the value instead of calculating it first.
3
[1, 2, 3].count
[1, 2, *arr].count