It just occured to me that:
class Jamie {
method function(){
.... //Is a method
}
notAMethod = () => {
....//Is not a method?
}
}
I am clearly confused in the matter, but why can't I use arrow functions and maintain the context of this = Jamie
? Instead of using bind
to keep context?