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

if statements #2

Open
crosshj opened this issue Sep 8, 2021 · 2 comments
Open

if statements #2

crosshj opened this issue Sep 8, 2021 · 2 comments

Comments

@crosshj
Copy link
Collaborator

crosshj commented Sep 8, 2021

if (first thing is true){
  // first thing must be true
} else if( other thing is true) {
  // ^^^ no need to test for first thing being false in this condition
}
@crosshj
Copy link
Collaborator Author

crosshj commented Sep 8, 2021

correct me if I am wrong

@LanceC93
Copy link
Owner

LanceC93 commented Sep 8, 2021 via email

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

No branches or pull requests

2 participants