Q. Which RxJS operator is used to switch to a new observable on emission?
β
Correct Answer: (B)
switchMap
Explanation: switchMap unsubscribes from previous observables and subscribes to the latest one.