• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in JavaScript by
Q:
What is a named function in JavaScript? How to define a named function?

1 Answer

0 votes
by
A named function has a name when it is defined. A named function can be defined using function keyword as follows −

function named(){

   // do some stuff here

}

Related questions

0 votes
asked Oct 19, 2019 in JavaScript by SakshiSharma
0 votes
asked Oct 19, 2019 in JavaScript by SakshiSharma
...