JavaScript 난수 생성

Math.random()
0~0.9999999... 인 숫자를 리턴
0 ≤ random ≤ 9
Math.floor(Math.random() * 10)