Skip to content

Refactor getCharset function for conciseness and modern syntax#557

Open
Ayoub-Mabrouk wants to merge 2 commits intoexpressjs:masterfrom
Ayoub-Mabrouk:chore/getcharset
Open

Refactor getCharset function for conciseness and modern syntax#557
Ayoub-Mabrouk wants to merge 2 commits intoexpressjs:masterfrom
Ayoub-Mabrouk:chore/getcharset

Conversation

@Ayoub-Mabrouk
Copy link
Contributor

  • Utilized optional chaining to simplify charset retrieval
  • Improved JSDoc comments for clarity
  • Enhanced readability while maintaining functionality

- Utilized optional chaining to simplify charset retrieval
- Improved JSDoc comments for clarity
- Enhanced readability while maintaining functionality
Co-authored-by: Sebastian Beltran <bjohansebas@gmail.com>
Copy link
Member

@wesleytodd wesleytodd left a comment

Choose a reason for hiding this comment

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

Same as the other one. Lets discuss this kind of thing at the TC.

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.

4 participants