One of the best wins of ()=>{} functions in JS will be discouraging APIs from reaching into a supplied function's "this" value.
-
-
@wycats could you expand on that? Not heard that description before. -
@abritinthebay The idea that `this` in modern JS programs should be used in methods only and mean "the current object" -
@wycats oh I see. Yeah, good practice in general. I already do that 99% of the time so that's good ;) I consider it a code smell otherwise.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.