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)