Math.min(数値1、数値2)
a = 100; b = 105; c = Math.min(10,15); document.write(a, "と", b, "では", c, "の方が小さい");
Top / Home / Index / Next