()
| 2705 | } |
| 2706 | |
| 2707 | function parseVariableStatement() { |
| 2708 | var declarations; |
| 2709 | |
| 2710 | expectKeyword('var'); |
| 2711 | |
| 2712 | declarations = parseVariableDeclarationList(); |
| 2713 | |
| 2714 | consumeSemicolon(); |
| 2715 | |
| 2716 | return delegate.createVariableDeclaration(declarations, 'var'); |
| 2717 | } |
| 2718 | |
| 2719 | // kind may be `const` or `let` |
| 2720 | // Both are experimental and not in the specification yet. |
no test coverage detected