for-of2.ts(1,7): error TS1155: 'const' declarations must be initialized.
for-of2.ts(2,6): error TS2588: Cannot assign to 'v' because it is a constant.


==== for-of2.ts (2 errors) ====
    const v;
          ~
!!! error TS1155: 'const' declarations must be initialized.
    for (v of []) { }
         ~
!!! error TS2588: Cannot assign to 'v' because it is a constant.