remove const for named fns and better stack trance#92
remove const for named fns and better stack trance#92jcoupey merged 1 commit intoVROOM-Project:masterfrom
Conversation
|
Thanks for taking the time to suggest some changes! Can you elaborate a bit on how this actually improves things? |
|
not only is it shorter and giving you the possibility to omit
it don't have huge benefits, it just comes down to preferable taste like immutable or mutable, colon vs non-colon or tab vs space... so if you like to reject this PR, then that is fine... I guess if i would have sticked with the const syntax then i would have made this into a one liner to omit return and function keywords instead by using arrow fn const now = () => new Date().toUTCString()i'm a nerd when it comes to byte saving technic sometimes. |
No description provided.