Skip to content

Conversation

@gyeong3un2
Copy link

No description provided.

generateLottoNumbers에서 6개의 로또 번호를 무작위로 생성하고 printLottoNumbersArray로 값을 넘겨줌
Lotto.js 파일에서 sortLottoNumbers() 함수에서 sort((num1, num2) => a - b); 라는 로직으로 배열 오름차순 구현
LottoController.js에서 handlerPurchase() 메서드가 로또 번호 6개 무작위 생성 로직을 포함하고 있어 이를 App.js에 분리
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant