refactor: improve readability by sazk07 · Pull Request #6173 · expressjs/express

@sazk07

Fix typo in condition check

@sazk07

Fix typo in condition check

bjohansebas

wesleytodd

@sazk07

assignment was being done inside condition check leading to confusion in reading code.

@sazk07

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

@sazk07 sazk07 changed the title Fix typo: Update index.js Fix: separate assignment and condition check in Update index.js

Nov 12, 2024

@sazk07 sazk07 changed the title Fix: separate assignment and condition check in Update index.js Fix: separate assignment and condition check in index.js

Nov 12, 2024

sazk07

Choose a reason for hiding this comment

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

updated

wesleytodd

UlisesGascon

@UlisesGascon UlisesGascon changed the title Fix: separate assignment and condition check in index.js refactor: improve readability

Nov 27, 2024

@UlisesGascon

@sazk07