()
| 222 | |
| 223 | // Could be useful for `arguments`, `this`, `new.target`, `super()`, `super.property`, and `super[property]`. |
| 224 | currentThisScopeFlags(): ScopeFlag { |
| 225 | for (let i = this.scopeStack.length - 1; ; i--) { |
| 226 | const { flags } = this.scopeStack[i]; |
| 227 | if ( |
| 228 | flags & (ScopeFlag.VAR | ScopeFlag.CLASS_BASE) && |
| 229 | !(flags & ScopeFlag.ARROW) |
| 230 | ) { |
| 231 | return flags; |
| 232 | } |
| 233 | } |
| 234 | } |
| 235 | } |
no outgoing calls
no test coverage detected