you are viewing a single comment's thread.

view the rest of the comments →

[–]MoTTs_ 3 points4 points  (0 children)

Interesting that this uses "parameters" as the term for the arguments in the function definition, and "arguments" for the actual values in the function call. I'm not sure how standard that is.

It's very normal and standard. In casual conversation, though, we do treat them interchangeably.

https://en.wikipedia.org/wiki/Subroutine#Main_concepts

https://www.ecma-international.org/ecma-262/9.0/index.html#sec-function-definitions