Put in order · Angular course · Module 7: RxJS
Creating a BehaviorSubject
Arrange the creation of a BehaviorSubject with an initial value of 0:
Items to put in order
- =
- new BehaviorSubject<number>
- (0)
- const behavior$
You can check the correct answer by solving this task in the CodeWorlds game.