Skip to content

Remove unnecessary referencing to this#2347

Closed
watch-the-stars wants to merge 1 commit into
expressjs:masterfrom
watch-the-stars:ref
Closed

Remove unnecessary referencing to this#2347
watch-the-stars wants to merge 1 commit into
expressjs:masterfrom
watch-the-stars:ref

Conversation

@watch-the-stars
Copy link
Copy Markdown

Hey :)
I've noticed some places in the code where it isn't really necessary to store this in a variable. I've passed current context to forEach loops as the second argument just to make things little more readable.

@dougwilson
Copy link
Copy Markdown
Contributor

Thanks, though of course since none of these code paths are involved in processing a request, it won't help with request performance :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants