3 ms·
Don't bother with the else. Just continue with your code outside a nested block since the if returns.
by jgeralnik 14y ago
Don't bother with the else. Just continue with your code outside a nested block since the if returns.
- NateDad 14y agoin this case, f is locally scoped to the if/else statement since it's assigned inside the if statement... Probably most of the time I would actually assign it outside the if statement and then check it/return and not have the rest of the code indented.