Newbish question but I was wondering what the value of "this" would be for an arrow function that is defined inside a javascript class.
Is it a reference to the class enclosing it?
For eg:
class abc {
testFunction = () => {
//What is the value of 'this' here?
}
}
Trying to understand this better to understand how functions are passed to components in ReactJS.