mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
248 B
TypeScript
13 lines
248 B
TypeScript
//// [tests/cases/conformance/es6/for-ofStatements/for-of9.ts] ////
|
|
|
|
//// [for-of9.ts]
|
|
var v: string;
|
|
for (v of ["hello"]) { }
|
|
for (v of "hello") { }
|
|
|
|
//// [for-of9.js]
|
|
"use strict";
|
|
var v;
|
|
for (v of ["hello"]) { }
|
|
for (v of "hello") { }
|