> JavaScript (and typescript) prefers them. Is it because of a convention or it really has advantages?
There are some slight differences: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I believe the reason arrow functions are prefered in his is because of the way `this` is handled: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...