Skip to content

Commit c354744

Browse files
chewiebugbevacqua
authored andcommitted
escape the *, so that the rest of the line is not formatted in bold text (#38)
1 parent d60385c commit c354744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch04.asciidoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ Generators ((("generators", id="gen4")))are a new feature in ES6. The way they w
10681068

10691069
We ((("generators", "fundamentals", id="gen4f")))already examined iterators in the previous section, learning how their `.next()` method is called one at a time to pull values from a sequence. Instead of a `next` method whenever you return a value, generators use the `yield` ((("yield")))keyword to add values into the sequence.
10701070

1071-
Here is an example generator function. Note the `*` after `function`. That's ((("function*")))not a typo, that's how you mark a generator function as a generator.
1071+
Here is an example generator function. Note the `+*+` after `function`. That's ((("function*")))not a typo, that's how you mark a generator function as a generator.
10721072

10731073
[source,javascript]
10741074
----

0 commit comments

Comments
 (0)