-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Improve code style of Proxy handler example #17780
Conversation
Fixes code sample in "A complete `traps` list example" code sample.
function
keywordfunction
keyword
Preview URLs
FlawsNone! 🎉 External URLsURL: No new external URLs (this comment was updated 2022-06-30 11:18:29.353894) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi—this code is correct, and we prefer the method syntax these days. Could you refactor the other code to this syntax instead?
Sure! np |
Yes, please, feel free to remove variables named using Hungarian notation. |
files/en-us/web/javascript/reference/global_objects/proxy/index.md
Outdated
Show resolved
Hide resolved
function
keyword
@Josh-Cena I think it's done. Ping me in case you thing more changes needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the change looks good to me.
Congratulations on your first contribution here—welcome aboard!
Summary
Fixes missing colon and
function
keyword in A complete traps list example code sample on Proxy page.Motivation
Fix typo.
Supporting details
--
Related issues
--
Metadata