TypeScript/tests/cases/conformance/es6/for-ofStatements/for-of9.ts
2015-02-26 18:17:08 -08:00

4 lines
83 B
TypeScript

//@target: ES6
var v: string;
for (v of ["hello"]) { }
for (v of "hello") { }