Understanding JavaScript Math Functions: Example of Math.max()