메모
[자바스크립트] 랜덤함수 응용
네코냥이
2013. 2. 7. 10:16
Math.random()
=> 실행 결과 0이상 1미만의 실수
var num = 101 ;
Math.floor(Math.random()*num);
=> 실행 결과 0~100 랜덤 생성