Skip to content

Commit e295382

Browse files
authored
Merge pull request #64 from VasileDurlesteanu/master
Update README.md
2 parents 87d0be8 + 50ba6ae commit e295382

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,11 +1101,11 @@ You can download the PDF and Epub version of this repository from the latest run
11011101
**[⬆ Back to Top](#table-of-contents)**
11021102
11031103
41. ### What is subscribing?
1104-
An Observable instance begins publishing values only when someone subscribes to it. So you need to subscribe by calling the **subscribe()** method of the instance, passing an observer object to receive the notifications.
1104+
An Observable instance begins publishing values only when someone subscribes to it. So you need to subscribe by calling the `subscribe()` method of the instance, passing an observer object to receive the notifications.
11051105
11061106
Let's take an example of creating and subscribing to a simple observable, with an observer that logs the received message to the console.
11071107
```javascript
1108-
Creates an observable sequence of 5 integers, starting from 1
1108+
// Creates an observable sequence of 5 integers, starting from 1
11091109
const source = range(1, 5);
11101110
11111111
// Create observer object

0 commit comments

Comments
 (0)