arrow functions
Arrow functions are a concise way to write functions in JavaScript. They use a shorter syntax compared to traditional function expressions. An arrow function is defined using the `=>` syntax, which allows for cleaner and more readable code, especially when dealing with simple operations.
One key feature of arrow functions is that they do not have their own this context. Instead, they inherit the this value from the surrounding lexical scope. This makes them particularly useful in situations where you want to maintain the context of this, such as in event handlers or callbacks.