>>711 > Why? > Function declarations are hoisted, which means that it’s easy - too easy - to reference the function before it is defined in the file. > This harms readability and maintainability. > If you find that a function’s definition is large or complex enough that it is interfering with understanding the rest of the file, > then perhaps it’s time to extract it to its own module! > Don’t forget to name the expression - anonymous functions can make it harder to locate the problem in an Error's call stack. > ([Discussion](https://github.com/airbnb/javascript/issues/794)) まずこれが嘘だろ。 関数宣言はどこにでも置けるのだから、関数式を置いている場所においても動作は問題ない。 遠くに置いて見にくくなるのなら、近くに置けばいいだけの話。 結局のところ、訳の分からない場所に置く馬鹿がいることが問題なんだよ。