function property

noun
UK /ˈfʌŋkʃən ˈprɒpəti/
US /ˈfʌŋkʃən ˈprɑːpərti/

A function property is a value stored under a name inside a function, like a little pocket that holds something.

The function property count keeps track of how many times the function has run.


OTHER MEANINGS

2. In mathematics, a property that a function has, such as being continuous or one-to-one.

Being even is a function property of the cosine function.

3. A property whose value is itself a function.

In this object, the onClick function property runs when the button is clicked.

4. A named value attached to a function object in programming.

We added a memo function property to cache the results.