9. Functions- Arrow, IIFE , Callbacks in JavaScript
Functions are reusable blocks of code that perform specific tasks
Function Statement
function hello(a){
console.log("Hello",a); // hello undefined
}
hello() /// function call we call function anywhere
Function Parameters: Default and Rest(…a...
rajputayush.hashnode.dev3 min read