Angular - RxJS Operators
Why does this code cause a runtime error?
import { of } from 'rxjs';
import { map } from 'rxjs/operators';
of(1, 2, 3).pipe(
map(x => x.toUpperCase())
).subscribe(console.log);