// function* fibs() {
// let a = 0;
// let b = 1;
// let c = "canon";
// while (true) {
// yield b;
// [a, b] = [b, a + b];
// }
// }
// let fun = fibs()
// // fibs().next()
// fun.next()
// let [first, second, third, fourth, fifth, sixth] = fibs();
// console.log(first)
// console.log(second)
// console.log(third)
// console.log(fourth)
// console.log(fifth)
// console.log(sixth)
// function* helloWorldGenerator() {
// // yield 'hello';
// // yield 'world';
// return 'ending';
// }
// var hw = helloWorldGenerator();
// console.log(hw)
const map = new Map();
map.set('first', 'hello');
map.set('second', 'world');
for (let item of map) {
// console.log(key + " is " + value);
console.log(item)
}