title: Sent user to page bottom by javascript
body: <p>I am trying to send user to the bottom of page</p>
  
  <p>by javascript</p>
  
  <p>I am trying this code</p>
  
  <pre><code>window.scrollTo(0,document.body.scrollHeight);
  </code></pre>
  
  <p>it does not work</p>
  
  <p>but if i try</p>
  
  <pre><code>window.scrollTo(0,9999999999999999);
  </code></pre>
  
  <p>it works very well</p>
  
  <p>Is page height can be greater than <code>9999999999999999</code> ?</p>
  
  <p>Or there is better way?</p>