Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

Function: name

2 tags 1 category

The name data property of a Function instance indicates the function’s name as specified when it was created, or it may be either anonymous or ” (an empty string) for functions created anonymously.

The function’s name property can be used to identify the function in debugging tools or error messages. It has no semantic significance to the language itself.

The name property is read-only and cannot be changed by the assignment operator:

The name property is typically inferred from how the function is defined. In the following sections, we will describe the various ways in which it can be inferred.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…