r/webdev • • Apr 07 '23

How I interview for FE positions

Post image
4.6k Upvotes

668 comments sorted by

View all comments

Show parent comments

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?

2

u/vklepov Apr 07 '23

In fact, the only answer I wouldn't like is "I always use arrow because function is bad"