generating floating point numbers within a range const max = 4 const min= 2 const result = Math.random()*(max - min) console.log(result) ...
確定! 回上一頁