/* @flow */ function foo(strs: Iterable): void { for (var s: string of strs) { console.log(s); } } var m: Map = new Map(); foo(m.keys());