JavaScript Functions
What is a function?
A function is a set of statements that performs a task or calculates a value. [MDN]
Declaring a function
function hello(){
console.log("Hello!");
}
we use the "function" keyword to declare a function followed by the function ...
shwetankblogs.hashnode.dev4 min read