Skip to content

refactor: improve readability - #6173

Merged
UlisesGascon merged 2 commits into
expressjs:masterfrom
sazk07:patch-1
Nov 27, 2024
Merged

refactor: improve readability#6173
UlisesGascon merged 2 commits into
expressjs:masterfrom
sazk07:patch-1

Conversation

@sazk07

Copy link
Copy Markdown
Contributor

Fix typo in condition check

Fix typo in condition check
Comment threadexamples/params/index.js Outdated
assignment was being done inside condition check leading to confusion in reading code.
@sazk07

Copy link
Copy Markdown
ContributorAuthor

assignment inside condition check leading to confusion in reading code. Change proposed.

@sazk07sazk07 changed the title Fix typo: Update index.jsFix: separate assignment and condition check in Update index.jsNov 12, 2024
@sazk07sazk07 changed the title Fix: separate assignment and condition check in Update index.jsFix: separate assignment and condition check in index.jsNov 12, 2024

@sazk07sazk07 left a comment

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@UlisesGasconUlisesGascon changed the title Fix: separate assignment and condition check in index.jsrefactor: improve readabilityNov 27, 2024
@UlisesGascon
UlisesGascon merged commit e4a61bd into expressjs:masterNov 27, 2024
@UlisesGascon

Copy link
Copy Markdown
Member

@sazk07 do you want to backport this to v4 branch too?

@sazk07

Copy link
Copy Markdown
ContributorAuthor

@sazk07 do you want to backport this to v4 branch too?

@UlisesGascon PR made in v4 branch. pls check from your end.

@bjohansebasbjohansebas mentioned this pull request Mar 15, 2025
@UlisesGasconUlisesGascon mentioned this pull request Mar 23, 2025
68 tasks
@wesleytoddwesleytodd mentioned this pull request Mar 28, 2025
Merged
Sign up for freeto 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.

5 participants

@sazk07@UlisesGascon@wesleytodd@krzysdz@bjohansebas