Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<script src="https://unpkg.com/@reactivex/rxjs@5.0.3/dist/global/Rx.js"></script>
</body>
</html>
 
const niz = ['1', '2', '3', '4', 'foo', 'bar', '5', '6', '7', '8', 'oh', 'da']
const tok = Rx.Observable
  .interval(400)
  .map(i => niz[i])
  .take(11)
tok.subscribe(x => console.log(x))
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
mudroljubpro
0viewers