I know the difference between arguments and parameters, but I'am a bit confused about how jQuery uses these terms.
For instance, jQuery defines as "parameters" the options passed to the load method. These shouldn't be declared as arguments because you pass your own values?
Then, on ajax function you can find many times the terms "parameters" and "arguments". For example, if you search for the beforeSend
property, you'll see:
The jqXHR and settings objects are passed as arguments.
But, in another section you'll also see:
The callback hooks provided by $.ajax() are as follows:
beforeSend callback option is invoked; it receives the jqXHR object and the settings object as parameters.
Does it mean that jQuery uses equally the terms "parameters" and "arguments"?