Arrow Functions in JavaScript

By FAM

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!";
}

--

--

--

I’m a passionate software engineer and woman in the tech world. Find more about me here: 🔗 www.fatimaamzil.com. I love to learn, help & share❤

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

When I realized the magic of Angular Pipes

the magic of angular pipes

Solving Missing Number Algorithm problem in JavaScript

INTERMEDIATE JAVASCRIPT

Create a movie rating social network (Node.js/PostgreSQL)

ES6 Class is a Lie: Understanding Prototype Delegation

YAML to JSON (to JS): the easy way!

How to add blur view to part of an image in react native without using any third party libraries

Original image

Live Search Api with React

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
FAM

FAM

I’m a passionate software engineer and woman in the tech world. Find more about me here: 🔗 www.fatimaamzil.com. I love to learn, help & share❤

More from Medium

Timing Events in JavaScript

How to Use Ternary Operators Effectively in JavaScript

JavaScript: defer and async

Learn TypeScript — Beginner level

An image of a night sky with mountains in the background.