21/01/2023
JavaScript Functions
A Javascript function is a group of statements that performs specific tasks. It is mainly used due to avoid code repetition and It is reused again and again as per requirement.
Function Declarations
Javascript function can be declared using the function keyword followed by the function name, then parentheses (), and then code written inside curly brackets {}.
https://sudhakarinfotech.com/javascript/javascript-function-tutorial