Arrow function and this keyword doubt

As discussed in one of the exercise of OOP of JS, that is to avoid using arrow functions while using this in a method!… but it becomes contradictory for me after learning factory functions. In factory functions, we use arrow functions along with ‘this’ keywords in methods. That seems more confusing. please clear it

Could you provide an example? I’ve looked at the lesson on factory functions. I see no recommended use of arrow functions to define methods.

Likewise I have gone through the lesson and find no factory function where this. syntax is used.

1 Like

Thanks but, I found my answer. I confused myself while going through these Topics. :sweat_smile: :sweat_smile:

1 Like