메인메뉴 바로가기

HOME으로 가기


사용자함수 번호 랜덤 추출하기

페이지 정보

profile_image
작성자 너갱이
댓글 0건 조회 1,996회 작성일 18-11-15 12:29

본문

var random_Q = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30];

random_Q.sort(function(){return Math.random() - Math.random();});

console.log(random_Q); 

댓글목록

등록된 댓글이 없습니다.