Use RxJS instead of setTimeout
A small example of using RxJs.  Here we create an observable with of, we then use pipe to take the va...
Tags: codepen, rxjs, javascript