Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor getCharset function for conciseness and modern syntax #557

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Ayoub-Mabrouk
Copy link

  • 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
lib/types/urlencoded.js Outdated Show resolved Hide resolved
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