Message from JavaScript discussions

October 2018

β€” Https://

Message permanent page


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.



β€” 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

β€” Normal functions = have prototype, can be bound
Arrow functions = no prototype, no binding possible