en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

Improper use of the word Arguments vs Parameters

Open soul4kills opened this issue 7 months ago • 1 comments

https://github.com/javascript-tutorial/en.javascript.info/blob/master/1-js/02-first-steps/17-arrow-functions-basics/article.md

In this article. From my understanding of what Arguments and Parameters are, it looks like the use of the word Arguments is used in the wrong context. The word Parameters should be used.

From my understanding "Arguments" describes the values being passed when it's called. And "Parameters" describe the variable placeholders that receive the "Arguments" being passed.

Unless it being an "Arrow Function" changes the context. I apologize if I'm wrong as I'm still learning.

soul4kills avatar Jun 02 '25 22:06 soul4kills

i think you're right. parameters is the correct word in most places

... i'm not sure about "accepts arguments", I think it's ok in this case but I would change it too, "defines parameters" or something like that to emphasize we are in, uhm, construction mode I would say. Pedagogical point, not grammar nor technicall issue.

joaquinelio avatar Jun 03 '25 15:06 joaquinelio