Closed ShawSumma closed 4 months ago
In your post you do something that looks like (() => { /* code here */ }).bind(this)
(() => { /* code here */ }).bind(this)
This is good code but this is already bound.
JavaScript arrow functions are different to function functions in that they bind this in their closure.
function
It would help my JS brain if this was fixed. Thanks!
Thanks, fixed!
I'm not terribly experienced with javascript, so I didn't actually know that, thank you for telling me!
In your post you do something that looks like
(() => { /* code here */ }).bind(this)
This is good code but this is already bound.
JavaScript arrow functions are different to
function
functions in that they bind this in their closure.It would help my JS brain if this was fixed. Thanks!