()
| 1196 | } |
| 1197 | |
| 1198 | func (p *Parser) isLetDeclaration() bool { |
| 1199 | // In ES6 'let' always starts a lexical declaration if followed by an identifier or { |
| 1200 | // or [. |
| 1201 | return p.lookAhead((*Parser).nextTokenIsBindingIdentifierOrStartOfDestructuring) |
| 1202 | } |
| 1203 | |
| 1204 | func (p *Parser) nextTokenIsBindingIdentifierOrStartOfDestructuring() bool { |
| 1205 | p.nextToken() |
no test coverage detected