DEV Community

Calvin
Calvin

Posted on

Reading Snippets [39 => Arrow Functions]

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)