mdn / interactive-examples

Home of the MDN live code editor interactive examples
Creative Commons Zero v1.0 Universal
725 stars 506 forks source link

fix incorrect method parameter '...arguments' with actual parameters (target, prop, receiver) #2752

Closed meck93 closed 5 months ago

meck93 commented 5 months ago

Description

The Proxy documentation page currently contains an example which is most likely outdated. The parameter ..arguments no longer exists. At least, when I used TypeScript it complained that the arguments did not exist. On the other hand, the example itself in the browser still works.

Related issues and pull requests

Relates to https://github.com/mdn/content/pull/32790

github-actions[bot] commented 5 months ago

It looks like this is your first pull request. 🎉 Thank you for your contribution! One of the project maintainers will triage and assign the pull request for review. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.