Skip to content

refactor: modernize View#lookup#6800

Open
Ayoub-Mabrouk wants to merge 1 commit intoexpressjs:masterfrom
Ayoub-Mabrouk:chore/lookup
Open

refactor: modernize View#lookup#6800
Ayoub-Mabrouk wants to merge 1 commit intoexpressjs:masterfrom
Ayoub-Mabrouk:chore/lookup

Conversation

@Ayoub-Mabrouk
Copy link
Copy Markdown
Contributor

  • Replace var loop with for...of for clarity and readability
  • Use const instead of var to prevent accidental reassignment
  • Introduce explicit found variable to avoid shadowing Node's path module
  • Add JSDoc to clarify input and return type

- Replace �ar loop with or...of for clarity and readability
- Use const instead of �ar to prevent accidental reassignment
- Introduce explicit ound variable to avoid shadowing Node's path module
- Add JSDoc to clarify input and return type
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