Skip to main content
Added clarification that the term I'm looking for need not come specifically from the ECMAScript spec.
Source Link

I understand in JavaScript the this and arguments "variables" are automatically made available inside functions. Is there a formal name for these kinds of variables that are automatically made available and don't need to be sent as parameters?

Is "variables" even the correct term for them? Since this and arguments can be overwritten to any value, "variables" seems to fit. But is there any term that is more specific and captures the automatic, non-parameter nature of them?

A related variable is the event object sent automatically as the first parameter to any function that is bound as an event handler (at least in the W3C model). Is there a technical term for this kind of variable that is also sent automatically, but (unlike this and arguments) is only accessible if included in the function's parameter list?

I'm looking for a noun: "this and arguments are both __________."

Or perhaps an adjective: "this and arguments are ______________ variables."

The term need not be specific to JavaScript. It may be a general programming term (such as lambda expression) that has been incorporated into the JavaScript language.

I understand in JavaScript the this and arguments "variables" are automatically made available inside functions. Is there a formal name for these kinds of variables that are automatically made available and don't need to be sent as parameters?

Is "variables" even the correct term for them? Since this and arguments can be overwritten to any value, "variables" seems to fit. But is there any term that is more specific and captures the automatic, non-parameter nature of them?

A related variable is the event object sent automatically as the first parameter to any function that is bound as an event handler (at least in the W3C model). Is there a technical term for this kind of variable that is also sent automatically, but (unlike this and arguments) is only accessible if included in the function's parameter list?

I'm looking for a noun: "this and arguments are both __________."

Or perhaps an adjective: "this and arguments are ______________ variables."

I understand in JavaScript the this and arguments "variables" are automatically made available inside functions. Is there a formal name for these kinds of variables that are automatically made available and don't need to be sent as parameters?

Is "variables" even the correct term for them? Since this and arguments can be overwritten to any value, "variables" seems to fit. But is there any term that is more specific and captures the automatic, non-parameter nature of them?

A related variable is the event object sent automatically as the first parameter to any function that is bound as an event handler (at least in the W3C model). Is there a technical term for this kind of variable that is also sent automatically, but (unlike this and arguments) is only accessible if included in the function's parameter list?

I'm looking for a noun: "this and arguments are both __________."

Or perhaps an adjective: "this and arguments are ______________ variables."

The term need not be specific to JavaScript. It may be a general programming term (such as lambda expression) that has been incorporated into the JavaScript language.

Added examples for how I would use the term, to try to address comments.
Source Link

I understand in JavaScript the this and arguments "variables" are automatically made available inside functions. Is there a formal name for these kinds of variables that are automatically made available and don't need to be sent as parameters?

Is "variables" even the correct term for them? Since this and arguments can be overwritten to any value, "variables" seems to fit. But is there any term that is more specific and captures the automatic, non-parameter nature of them?

A related variable is the event object sent automatically as the first parameter to any function that is bound as an event handler (at least in the W3C model). Is there a technical term for this kind of variable that is also sent automatically, but (unlike this and arguments) is only accessible if included in the function's parameter list?

I'm looking for a noun: "this and arguments are both __________."

Or perhaps an adjective: "this and arguments are ______________ variables."

I understand in JavaScript the this and arguments "variables" are automatically made available inside functions. Is there a formal name for these kinds of variables that are automatically made available and don't need to be sent as parameters?

Is "variables" even the correct term for them? Since this and arguments can be overwritten to any value, "variables" seems to fit. But is there any term that is more specific and captures the automatic, non-parameter nature of them?

A related variable is the event object sent automatically as the first parameter to any function that is bound as an event handler (at least in the W3C model). Is there a technical term for this kind of variable that is also sent automatically, but (unlike this and arguments) is only accessible if included in the function's parameter list?

I understand in JavaScript the this and arguments "variables" are automatically made available inside functions. Is there a formal name for these kinds of variables that are automatically made available and don't need to be sent as parameters?

Is "variables" even the correct term for them? Since this and arguments can be overwritten to any value, "variables" seems to fit. But is there any term that is more specific and captures the automatic, non-parameter nature of them?

A related variable is the event object sent automatically as the first parameter to any function that is bound as an event handler (at least in the W3C model). Is there a technical term for this kind of variable that is also sent automatically, but (unlike this and arguments) is only accessible if included in the function's parameter list?

I'm looking for a noun: "this and arguments are both __________."

Or perhaps an adjective: "this and arguments are ______________ variables."

edited title
Link

Is there a general name for function argumentsvariables that are sent automatically?

Source Link
Loading