You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"if" condition already has a return in it, therefore "else" is useless. If the 'if' condition does not match, it will continue to execute whatever is in else. If the 'if' condition matches, then it will execute the if's body and will return from there, without looking at the rest of the function.
The text was updated successfully, but these errors were encountered:
https://github.com/pharzan/InstaTinder/blob/master/instatinder.js#L65
"if" condition already has a return in it, therefore "else" is useless. If the 'if' condition does not match, it will continue to execute whatever is in else. If the 'if' condition matches, then it will execute the if's body and will return from there, without looking at the rest of the function.
The text was updated successfully, but these errors were encountered: