Skip to content

Commit 9989387

Browse files
chewiebugbevacqua
authored andcommitted
fix syntax error (#42)
1 parent 03d02d1 commit 9989387

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch04.asciidoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -1699,8 +1699,8 @@ As a bonus, we'll have `saveProducts` return a promise that's fulfilled after th
16991699
[source,javascript]
17001700
----
17011701
saveProducts(function* () {
1702-
const p2 = yield '/products/modern-javascript'
1703-
const p2 = yield '/products/mastering-modular-javascript'
1702+
yield '/products/modern-javascript'
1703+
yield '/products/mastering-modular-javascript'
17041704
return '/wishlists/books'
17051705
}).then(response => {
17061706
// continue after storing the product list

0 commit comments

Comments
 (0)