创建一个新的 observable 对象并将参数值发送出去,然后再发送源 observable 对象发出的值
- 在异步编程中提供默认值的时候非常有用 ```typescript import { interval } from “rxjs” import { map, startWith } from “rxjs/operators”
interval(1000)
.pipe(
map(n => n + 100),
startWith(505)
)
.subscribe(n => console.log(n))
// 505
// 100
// 101
// 102
// …
```

