if (someCondition) { // do stuff if the condition is true } else { // do stuff if the condition is false }