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

Replace var with let in code snippets and examples #11343

Closed
rebloor opened this issue Dec 20, 2021 · 1 comment
Closed

Replace var with let in code snippets and examples #11343

rebloor opened this issue Dec 20, 2021 · 1 comment
Labels
Content:WebExt WebExtensions docs p3 We don't have visibility when this will be addressed.

Comments

@rebloor
Copy link
Contributor

rebloor commented Dec 20, 2021

With reference to Use const in place of var #11135: in some places, MDN uses var in code snippet and examples. let is the modern JavaScript approach that has safer scoping rules.

MDN URL: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons

@rebloor rebloor added Content:WebExt WebExtensions docs p3 We don't have visibility when this will be addressed. labels Dec 20, 2021
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 20, 2021
@rebloor rebloor removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 20, 2021
@rebloor
Copy link
Contributor Author

rebloor commented Aug 18, 2022

Changes completed

@rebloor rebloor closed this as completed Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebExt WebExtensions docs p3 We don't have visibility when this will be addressed.
Projects
None yet
Development

No branches or pull requests

1 participant