title: Why does Math.min() return positive infinity, while Math.max() returns negative infinity?
body: <p>When I type in an array into the parameter of the javascript math minimum and maximum functions, it returns the correct value:</p>
  <pre><code>console.log( Math.min( 5 ) ); // 5
  console.log( Math.max( 2 ) ); // 2
  
  var array = [3, 6, 1, 5, 0, -2, 3];
  var minArray = Math.min( array ); // -2
  var maxArray = Math.max( array ); // 6
  </code></pre>
  <p>However, when I use the function with no parameters, it returns an incorrect answer:</p>
  <pre><code>console.log( Math.min() ); // Infinity
  console.log( Math.max() ); // -Infinity
  </code></pre>
  <p>This one returns false:</p>
  <pre><code>console.log( Math.min() &lt; Math.max() );
  </code></pre>
  <p>Why does it do this?</p>