Angular - RxJS Operators
What is the issue in this Angular RxJS code snippet?
import { of } from 'rxjs';
import { map } from 'rxjs/operators';
of(2, 4, 6).pipe(
map(x => { x + 10; })
).subscribe(console.log);