I'm Tomas

I am a senior Frontend developer with over 15 years of experience. Currently, I work for YourNewSelf/RealSelf, the world's largest aesthetic medicine portal. If you have a proposal that might interest me, please check out my LinkedIn profile and get in touch with me.

LinkedIn profile

Arrow vs Normal Functions in JS

JavaScript, the friendly and flexible language that it is, offers developers a variety of ways to define functions. Among these, let's explore two primary approaches: the traditional normal functions and the more concise arrow functions. Get ready for a journey into the differences between these two, covering their syntax, behavior, and ideal use cases.

Syntax made simple:

Normal Function Syntax:

function add(a, b) {
  return a + b;...