Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions operators/combination/endwith.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ source$
// emit on completion
.pipe(endWith('Friend'))
// 'Hello', 'Friend', 'Goodbye', 'Friend'
.subscribe(console.log(val));
.subscribe(val => console.log(val));
```

##### Example 2: endWith multiple values
Expand All @@ -62,7 +62,7 @@ source$
// emit on completion
.pipe(endWith('Goodbye', 'Friend'))
// 'Hello', 'Friend', 'Goodbye', 'Friend'
.subscribe(console.log(val));
.subscribe(val => console.log(val));
```

##### Example 3: Comparison to [`finalize`](../utility/finalize.md)
Expand Down