Message from JavaScript discussions

October 2018

β€” How would you write it?

β€” 

Https://stackoverflow.com/questions/44030645/are-arrow-functions-faster-more-performant-lighter-than-ordinary-standalone-f

β€” Since it also makes it run faster as a side effect. so who knows why they are popular🀀 i do accept that some base type functions will run faster in future, but not the syntax constructs.

Message permanent page

β€” 

R.complement(
R.compose(
R.contains(
callbackQuery.data),
R.map(R.prop('name'))));

β€” Babel makes it run faster? Uhhhh

β€” So no performance difference

β€” Read first comment

β€” Yes

β€” The engine has to make one more transition, that's the cost

β€” Which means arrow functions are inherently cheaper

β€” No

β€” You are like a sect member