Functions in js:
Functions are nothing but a block of reusable code. used to simplify the whole codebase. let us discuss with an example and realize the syntax.
//write a function to geet someone:
const greet = function(name) {
console.log("Hello, " + name + "!"...
jithtc.hashnode.dev2 min read