title: Check if numbers in JavaScript is in the range of int in Java (–2147483648 < n < 2147483647)
body: <p>What's he correct way to validate JavaScript numbers as Java int?</p>
  
  <pre><code>  –2147483648 &lt; n &lt; 2147483647
  
   IsNumeric(2147483648) --&gt; true: which is &gt; int
   parseInt("2147483648") --&gt; 2147483648 : which is &gt; int
  </code></pre>