Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit 4e4f742

Browse files
removed comment
1 parent e3aff18 commit 4e4f742

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/operators/standard-operators.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ stream.subscribe(console.log)
1515
// scan - Applies an accumulator function over the source Observable, and returns each intermediate result, with an optional seed value.
1616
console.log("### SCAN ###")
1717
var stream = Rx.Observable.from([1,2,3,4,5,6])
18-
.scan((acc, curr) => acc * curr);
18+
.scan((acc, curr) => acc + curr);
1919
stream.subscribe(console.log)
2020

21-
// mergeMap
22-
2321
// combineLatest - Whenever any input Observable emits a value, it computes a formula using the latest values from all the inputs, then emits the output of that formula.
2422
console.log("### COMBINELATEST ###")
2523
var weight = Rx.Observable.of(70, 72, 76, 79, 75);

0 commit comments

Comments
 (0)