* Determines whether to hoist the initializer of a ForStatement, ForInStatement, or * ForOfStatement. * * @param node The node to test.
(node)
| 106801 | * @param node The node to test. |
| 106802 | */ |
| 106803 | function shouldHoistForInitializer(node) { |
| 106804 | return ts.isVariableDeclarationList(node) |
| 106805 | && shouldHoistVariableDeclarationList(node); |
| 106806 | } |
| 106807 | /** |
| 106808 | * Visits the initializer of a ForStatement, ForInStatement, or ForOfStatement |
| 106809 | * |
no test coverage detected
searching dependent graphs…