Learn JavaScript Decision Making: if, else, switch
18h ago · 4 min read · When we write program, we often need the computer to make decisions.
For example:
If a user is 18 or older, allow registration
If marks are above 40, the student passes
If today is Monday, show the