Angular - RxJS Operators
What will be logged to the console when this code runs?
import { of } from 'rxjs';
import { tap, map } from 'rxjs/operators';
of(1, 2, 3).pipe(
tap(x => console.log('Before map:', x)),
map(x => x * 2),
tap(x => console.log('After map:', x))
).subscribe();