I just used that as an example
my point is, why the hell do they use const instead of function
and yes, although they work, why? it makes it non-obvious the purpose of something by glancing at it. the function keyword makes it easier to skim code and identify "yes, this is a function", that is why we added keywords to languages