Despite the similarities in functionality, arrow functions differ from regular JavaScript functions in several ways:
๐น Syntax - Curly brackets are not required
๐น Arguments Binding- Arrow functions do not have arguments binding
๐น This Keyword- Arrow functions do not have their own this
๐น New Keyword- Arrow functions can never be used as constructor functions
๐น Parameters - Arrow functions can never have duplicate named parameters
Source:Ashutosh Verma,Medium
Top comments (0)