Skip to content

Commit

Permalink
escape the *, so that the rest of the line is not formatted in bold t…
Browse files Browse the repository at this point in the history
…ext (#38)
  • Loading branch information
chewiebug authored and bevacqua committed Aug 13, 2017
1 parent d60385c commit c354744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch04.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ Generators ((("generators", id="gen4")))are a new feature in ES6. The way they w

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.

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.
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.

[source,javascript]
----
Expand Down

0 comments on commit c354744

Please sign in to comment.