I have this function call in jQuery:
image.save(comment);
and I've defined the save function like this:
Image.prototype.save = association => {
debugger;
this
}
How do I get this
to equal the recipient of the function call which is image
? Right now at the debugger, it equals the window object.