0 votes
145 views
in Javascript by (2.0k points)
edited

 Define a named function in JavaScript.

1 Answer

0 votes
by (2.0k points)
selected by
 
Best answer

The function which has named at the time of definition is called a named function. For example

function msg()
{
  document.writeln("Named Function");
}
msg();

Related questions

0 votes
1 answer 100 views
asked Oct 9, 2022 in Javascript by MrRam (2.0k points)
0 votes
1 answer 121 views
asked Oct 9, 2022 in Javascript by MrRam (2.0k points)
0 votes
1 answer 105 views
asked Aug 19, 2022 in Javascript by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

535 users

...