RxJS Playground 5.0.0-beta.10

Playground for RxJS 5.0.0 with ES2015 (Babel)

by Hiroshi Kurokawa

HTML

<script src="https://npmcdn.com/@reactivex/[email protected]/dist/global/Rx.umd.js"></script>

Babel + JSX

Rx.Observable.range(0, 10)
  .filter((x) => x % 2 == 0)
  .map((x) => x * x)
  .subscribe(
    (x) => console.log(x),
    (error) => console.error(error),
    () => console.log("completed."));