본문으로 건너뛰기
0

이 레슨은 당분간 영어로 제공돼요.

Decide, then reuse

A profile page decides which badge to show, and the same bonus rule appears on three different pages. Conditions make the decisions; functions let you write a rule once and reuse it everywhere.