title: Rxjs Subject next or onNext
body: <p>I'm quite new at rxjs stuff be patience.
  For example in this tutorial
  <a href="http://blog.angular-university.io/how-to-build-angular2-apps-using-rxjs-observable-data-services-pitfalls-to-avoid/" rel="noreferrer">http://blog.angular-university.io/how-to-build-angular2-apps-using-rxjs-observable-data-services-pitfalls-to-avoid/</a>
  but I saw the same code in the ng-book</p>
  
  <p>I can see </p>
  
  <pre><code>let subject = new Rx.Subject();
  subject.subscribe(value =&gt; console.log('Received new subject value: '))
  subject.next(newValue);
  </code></pre>
  
  <p>but if I put the code in the browser I've got</p>
  
  <p>s<strong>ubject.next is not a function</strong></p>
  
  <p>so if I take a look to the doc
  <a href="https://github.com/Reactive-Extensions/RxJS/blob/master/doc/gettingstarted/subjects.md" rel="noreferrer">https://github.com/Reactive-Extensions/RxJS/blob/master/doc/gettingstarted/subjects.md</a></p>
  
  <pre><code>var subject = new Rx.Subject();
  subject.subscribe(value =&gt; console.log('Received new subject value: ',value))
  subject.onNext(2);
  </code></pre>
  
  <p>Can you explain me why the tutorial and the book
  are using next ? What am I missing ?</p>