diff --git a/aio/content/examples/rx-library/src/operators.2.ts b/aio/content/examples/rx-library/src/operators.2.ts index 4e38c8eb6d..a24c2d6338 100644 --- a/aio/content/examples/rx-library/src/operators.2.ts +++ b/aio/content/examples/rx-library/src/operators.2.ts @@ -8,7 +8,7 @@ import { map } from 'rxjs/operators/map'; const squareOdd = Observable.of(1, 2, 3, 4, 5) .pipe( - filter(n => n % 2), + filter(n => n % 2 !== 0), map(n => n * n) );