乱数関数を使用して 219 から 1500 の間の 2 つの乱数を取得しています。どうすればこれを達成できますか?
最初に検索してみましたが、乱数についてはあまりにも多くのことがあり、私の問題に関連するものを見つけるのは困難です。
 function getRandomBase (min, max) {
    orBase = Math.floor(Math.random() * (max - min + 1)) + min; 
    document.getElementById("box1").value = orBase;
    newBase = Math.floor(Math.random() * (max - min + 1)) + min; 
    document.getElementById("box3").value = newBase;
}