Login
Remember
Register
Ask a Question
What is the name function in JavaScript and how can you define it?
0
votes
asked
Sep 18, 2021
in
JavaScript
by
sharadyadav1986
What is the name function in JavaScript and how can you define it?
javascript-function
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 18, 2021
by
sharadyadav1986
A named function in JavaScript declares a name once it gets defined. Example:
function named(){
// write code here
}
...