title: Math.min(Math.max(x, 0), 8) what does it mean?
body: <p>I was looking at the sudoku code of the "mine" sudoku Android application and I've noticed this code: </p>
  
  <pre><code>selX = Math.min(Math.max(x, 0), 8);
  selY = Math.min(Math.max(y, 0), 8);
  </code></pre>
  
  <p>What does <code>Math.min(Math.max(x, 0), 8)</code> and <code>Math.min(Math.max(y, 0), 8)</code> mean?</p>