SOURCE

function* test() {
  yield 2;
  yield 3;
  console.log(this)
}
let b = test()
console.log(b.next())
console.log(b.next())
console.log(b.next())

console 命令行工具 X clear

                    
>
console