Please I want to know. Does the ‘return false’ represent the ‘else’ statement? If not what is the difference?? Thanks in anticipation
Please post the actual code instead of a screenshot of the code.
This is what’s known as the ‘early return pattern’. In this case, the second could be put into an else or not and the result would be the same, because the if clause uses the ‘return’ keyword.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.