Js Functions
functions is a piece of code that we use to reduce code repeatability
Syntax:
function function_name(parameters){
//code to be executed
}
// calling function with custom arguments
function_name(arguments);
Spread and rest operator as parameter ...
singhaakash.hashnode.dev2 min read