How can I subscribe to a series of numbers?

Rx.Observable.of(1, 2, 3, 4, 5)
  .subscribe(value => console.log(value))

Last updated

Was this helpful?