랜덤 숫자 배열 만들기

Donghun Seol·2022년 12월 14일
0
function randomIntArr(size, numRange) {
  return Array(size).fill(null).map(elem => parseInt(Math.random() * numRange));

}
profile
I'm going from failure to failure without losing enthusiasm

0개의 댓글