// Arrow function vs function // Function in JavaScript function regular(){ console.log("regular function"); } regular(); //regular function // Arrow Function const arrow = () => console.log("Arrow function"); arrow(); //Arrow function