3 ms·
I use the '=>' operator to get a 'this' reference that does what you'd expect (like in Java) by getting whatever object is running rather than the typical JS 't
by ClayFerguson 10y ago
I use the '=>' operator to get a 'this' reference that does what you'd expect (like in Java) by getting whatever object is running rather than the typical JS 'this' of the function. Trivial example is here:
https://github.com/Clay-Ferguson/meta64/blob/master/src/main/resources/public/ts/dlg/ConfirmDlg.ts https://github.com/Clay-Ferguson/meta64/blob/master/src/main...