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