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

New return syntax #82

Merged
merged 8 commits into from
Mar 16, 2025
Merged

New return syntax #82

merged 8 commits into from
Mar 16, 2025

Conversation

rycont
Copy link
Owner

@rycont rycont commented Mar 16, 2025

반환하기 키워드가 추가되었습니다. 반환 값을 지정함과 동시에 약속의 실행을 종료합니다. 이제 결과 변수 이름은 함수의 반환값으로 사용되지 않습니다.

약속, 키가 (키)cm이고 몸무게가 (몸무게)kg일 때 비만도
	몸무게 / (키 / 100 */ 100) 반환하기

비만도 = 키가 (177)cm이고 몸무게가 (68)kg일 때 비만도
비만도 보여주기

@rycont rycont merged commit 7d96acf into main Mar 16, 2025
3 checks passed
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