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

Formatting mistake at "What is the arguments object?" page #4384

Closed
floreapaun opened this issue Jan 26, 2022 · 0 comments · Fixed by #4385
Closed

Formatting mistake at "What is the arguments object?" page #4384

floreapaun opened this issue Jan 26, 2022 · 0 comments · Fixed by #4385

Comments

@floreapaun
Copy link

floreapaun commented Jan 26, 2022

myfunc
  .apply(obj, arguments)
  // concat arguments onto the
  .Array.prototype.concat.apply([1, 2, 3], arguments);

I think this should be written as:

myfunc.apply(obj, arguments);

// concat arguments onto the
Array.prototype.concat.apply([1, 2, 3], arguments);

I don't know what is the meaning of that period on the concat function.

Trott added a commit to Trott/nodejs.org that referenced this issue Jan 26, 2022
Send readers from the arguments object knowledge base article to the MDN
article on the topic. This also removes some sample code that was
broken.

Closes: nodejs#4384
Trott added a commit that referenced this issue Jan 27, 2022
Send readers from the arguments object knowledge base article to the MDN
article on the topic. This also removes some sample code that was
broken.

Closes: #4384
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 a pull request may close this issue.

1 participant