Arrow Functions in JavaScript
Function & Arrow Functions

Hi there 👋
Functions are used for a specific task and functionality. This is super important when you code so that you can separate concerns and make your code readable as well as maintainable.
The classical syntax is as below:
function welcomeMsg() {
return "Hi, welcome!";
}