JS中,輸出1-10之間的隨機整數 引用部分: 1. 從1開始 至 任意值parseInt(Math.random()*上限+1); 2. 從任意值開始 至 任意值parseInt(Math.random()*(上限- ...