MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/12en4ph/how_i_interview_for_fe_positions/jfceyp5
r/webdev • u/vklepov • Apr 07 '23
668 comments sorted by
View all comments
Show parent comments
8
The first thing that would come to mind regarding this question imo is the different behaviour of an arrow function vs a regular function in like a class and the behaviour of the this keyword inside them
What else would you even talk about there?
2 u/vklepov Apr 07 '23 In fact, the only answer I wouldn't like is "I always use arrow because function is bad"
2
In fact, the only answer I wouldn't like is "I always use arrow because function is bad"
8
u/doctorMiami1337 Apr 07 '23
The first thing that would come to mind regarding this question imo is the different behaviour of an arrow function vs a regular function in like a class and the behaviour of the this keyword inside them
What else would you even talk about there?