產生器 方法(Generator method)也可以透過簡短語法定義之。 ... The same object using shorthand syntax var obj2 = { * g() { var index = 0; while (true) yield ...
確定! 回上一頁