how to make function with if else code example Example: javascript if elseif if (condition) { } else if (other_condition) { } else { }