How can I subscribe to an array of numbers?

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

Last updated

Was this helpful?