Coding task · Angular course · Module 7: RxJS

Practice: Observable basics

An Observable is a data stream: nothing happens until someone subscribes to it. A stream of a few given values is created by an rxjs function (another one does it from an array).

Task

Complete the code that creates an Observable from values and subscribes to it.