title: How do I use RxJS Observable in Chrome or Firefox developer tools console?
body: <p>I would like to quickly test some Observable related functions. In my Chrome Developper Tools (or the Firefox one, doesn't matter).</p>
  
  <p>It seems to me that some days ago I was able to simply execute code like this :</p>
  
  <pre><code>var test$ = Rx.Observable.from([1,2,3]);
  </code></pre>
  
  <p>directly in my JavaScript console. My recollection seems even more correct since I actually have digged up this example (and many others) from my dev tools console history !</p>
  
  <hr>
  
  <p>For some reason, it is not working anymore; I get this error : </p>
  
  <blockquote>
    <p>Uncaught ReferenceError: Rx is not defined</p>
  </blockquote>
  
  <p>or if I just use Observable instead of Rx.Observable</p>
  
  <blockquote>
    <p>Uncaught ReferenceError: Observable is not defined</p>
  </blockquote>
  
  <hr>
  
  <p>It is not possible to use <code>import</code> statement 'as is' in the Chrome console. Does someone has a solution to debug RxJS code in using browser's Javascript console ?</p>