so you have to multiply and use Math.floor() Math.floor(Math.random() * 100) +1 this returns a number between 1 and 10 Math.floor(Math.random() *10); this returns a number between 0 and 9
댓글 없음:
댓글 쓰기