Js Function is a reusable code-block that will be executed whenever it is called.
Js Function is a great time saver.
It is used for performing repetitive tasks where you can call the same function multiple times to get the same effect.
It allows code reusability.
Js provides number of built-in functions.