Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[로또 게임] 박경은 과제 제출합니다. #627

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

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