function hello () {}
form in most situations where I wanted to define a named function, both global and local. I’d generally reserve arrow functions for cases where I’m passing an anonymous function as an argument or otherwise using it as a first class value. #const hello= () => {};
in situations where I need to name a function that needs to reference the this binding of its surrounding environment.#