Skip to content

Replace var with const in example code#67

Merged
wesleytodd merged 1 commit intojshttp:masterfrom
Binilkks:update-docs
Mar 5, 2025
Merged

Replace var with const in example code#67
wesleytodd merged 1 commit intojshttp:masterfrom
Binilkks:update-docs

Conversation

@Binilkks
Copy link
Contributor

@Binilkks Binilkks commented Feb 6, 2025

This PR update the example code snippet to use const instead of var. This aligns with modern Javascript conventions and improve code clarity.

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.

Typically not a fan of merging drive by style changes like this, but I will here since it is simple enough.

@wesleytodd wesleytodd merged commit e9fc8c5 into jshttp:master Mar 5, 2025
2 checks passed
@UlisesGascon UlisesGascon mentioned this pull request Nov 18, 2025
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.

3 participants