What is JavaScript Function?

A function in JavaScript is a set of code which is used to do certain task. It can also be used for calculation. Before using the function, ensure that it is defined somewhere.

3 Likes

Great enthusiasm @nagesh28katke !

1 Like