a more concise and elegant syntax to declare function expressions in Javascript. Although traditional functions and arrow functions work in a similar way
No they donβt. Functions and Lambdas (fat arrow function) are completely different things that generate similar results. Saying they are the same is akin to say + and * are the same because
Exactly! If you continue reading, you will see that this paragraph is just a comparison to draw the reader's attention. The purpose of this publication is to literally emphasize this difference and the necessary care that we must have when using one or the other.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
No they donβt. Functions and Lambdas (fat arrow function) are completely different things that generate similar results. Saying they are the same is akin to say + and * are the same because
Therefore + and * are the same
Exactly! If you continue reading, you will see that this paragraph is just a comparison to draw the reader's attention. The purpose of this publication is to literally emphasize this difference and the necessary care that we must have when using one or the other.