title: What are the difference between the scrollX and pageXOffset
body: <p>Are the following methods same?</p>
  
  <pre><code>window.scrollX  === window.pageXOffset
  
  window.scrollY  === window.pageYOffset
  </code></pre>
  
  <p>If there is no difference, why two methods are introduced?</p>