Skip to content

Return inside function scope & Binary Search - #29

Open
mrpeppapig wants to merge 2 commits into
Apress:masterfrom
mrpeppapig:master
Open

mrpeppapig wants to merge 2 commits into
Apress:masterfrom
mrpeppapig:master

Conversation

@mrpeppapig

Copy link
Copy Markdown

While I understand using console.log() inside function scope, it is more clean to use return to clean the function's memory at the same time, the sample above should suggests compiler instead of browser development

While I understand using console.log() inside function scope, it is more clean to use return to clean the function's memory at the same time, the sample above should suggests compiler instead of browser development
The binary search in the book produces an error. And I assume this is the solution to the problem
@mrpeppapig mrpeppapig changed the title Return inside function scope Return inside function scope & Binary Search Jul 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant