Skip to content

Commit 41ce534

Browse files
fix: fix a typo in Part 2 (#20)
Co-authored-by: Nurali Khoja <[email protected]>
1 parent 6b81d1d commit 41ce534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/part-2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ document.getElementById('test').addEventListener('click', (event) => {
9696

9797
This event listener is producing a stream of values, values emitted over time at each user click, and this stream virtually never completes.
9898

99-
When we will want to deal with other operations, we will have to nest the next calls in each callback function. Not only will it become had to read, but the error handling will be very complicated if not impossible. In addition, we will have to work with streams of data that never complete (like the click event) and some that do complete (like a timeout or an Ajax call).
99+
When we will want to deal with other operations, we will have to nest the next calls in each callback function. Not only will it become hard to read, but the error handling will be very complicated if not impossible. In addition, we will have to work with streams of data that never complete (like the click event) and some that do complete (like a timeout or an Ajax call).
100100

101101
```js
102102
document.getElementById('test').addEventListener('click', (event) => {

0 commit comments

Comments
 (0)