diff --git a/files/en-us/web/javascript/reference/operators/yield_star_/index.md b/files/en-us/web/javascript/reference/operators/yield_star_/index.md index af632fe1b77846a..7b934f3eb5771b6 100644 --- a/files/en-us/web/javascript/reference/operators/yield_star_/index.md +++ b/files/en-us/web/javascript/reference/operators/yield_star_/index.md @@ -132,7 +132,7 @@ async function* g3() { yield* g2(); } -const gen = g4(); +const gen = g3(); console.log(await gen.next()); // {value: "foo", done: false} console.log(await gen.next()); // {value: "bar", done: false}