10/09/2023 5:29 pm
Topic starter
Notifications
Clear all
What are arrow functions in javascript?
0
What are arrow functions in javascript?
Answer
Add a comment
Add a comment
2 Answers
0
11/09/2023 5:33 am
Arrow functions in JavaScript are a concise way to write anonymous functions. They have a more compact syntax compared to traditional function expressions and automatically capture the surrounding context’s this
value, making them especially useful for certain callback functions and short, single-expression functions.
Add a comment
Add a comment
0
14/09/2023 9:03 pm
Arrow functions are anonymous functions i.e. functions without a name and are not bound by an identifier. Arrow functions do not return any value and can be declared without the function keyword. They are also called Lambda Functions. Syntax: const gfg = () => { console.log( “Hi Geek!” ); }
Add a comment
Add a comment
Forum Information
- 14 Forums
- 1,837 Topics
- 5,053 Posts
- 0 Online
- 1,079 Members
Our newest member: Tyronenodub
Latest Post: loli
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed